forked from mirrors/qmk_userspace
Fix functions with empty params (#19647)
* Fix functions with empty params * Found a bunch more
This commit is contained in:
parent
0f77ae6a20
commit
cf935d97ae
170 changed files with 276 additions and 276 deletions
|
@ -99,7 +99,7 @@ uint8_t adns9800_read(uint8_t reg_addr) {
|
|||
return data;
|
||||
}
|
||||
|
||||
void adns9800_init() {
|
||||
void adns9800_init(void) {
|
||||
setPinOutput(ADNS9800_CS_PIN);
|
||||
|
||||
spi_init();
|
||||
|
|
|
@ -87,7 +87,7 @@ void cirque_pinnacle_scale_data(pinnacle_data_t* coordinates, uint16_t xResoluti
|
|||
}
|
||||
|
||||
// Clears Status1 register flags (SW_CC and SW_DR)
|
||||
void cirque_pinnacle_clear_flags() {
|
||||
void cirque_pinnacle_clear_flags(void) {
|
||||
RAP_Write(HOSTREG__STATUS1, HOSTREG__STATUS1_DEFVAL & ~(HOSTREG__STATUS1__COMMAND_COMPLETE | HOSTREG__STATUS1__DATA_READY));
|
||||
wait_us(50);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue