diff options
| author | QMK Bot <hello@qmk.fm> | 2021-11-17 12:28:38 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-18 07:28:38 +1100 |
| commit | 2c5d66987da4c7d5857cab8b09c4f852b4d8e4d9 (patch) | |
| tree | 3ddc4f2cc572c632a0027d31d6e3e86af03591bc /drivers/sensors/adns5050.h | |
| parent | b06740c933c63a8f82e0a7112f9eeab9bd93687a (diff) | |
| download | qmk_firmware-2c5d66987da4c7d5857cab8b09c4f852b4d8e4d9.tar.gz qmk_firmware-2c5d66987da4c7d5857cab8b09c4f852b4d8e4d9.zip | |
Format code according to conventions (#15193)
Diffstat (limited to 'drivers/sensors/adns5050.h')
| -rw-r--r-- | drivers/sensors/adns5050.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/sensors/adns5050.h b/drivers/sensors/adns5050.h index ff8e8f78e..5e9edc296 100644 --- a/drivers/sensors/adns5050.h +++ b/drivers/sensors/adns5050.h | |||
| @@ -67,13 +67,13 @@ typedef struct { | |||
| 67 | // A bunch of functions to implement the ADNS5050-specific serial protocol. | 67 | // A bunch of functions to implement the ADNS5050-specific serial protocol. |
| 68 | // Note that the "serial.h" driver is insufficient, because it does not | 68 | // Note that the "serial.h" driver is insufficient, because it does not |
| 69 | // manually manipulate a serial clock signal. | 69 | // manually manipulate a serial clock signal. |
| 70 | void adns_init(void); | 70 | void adns_init(void); |
| 71 | void adns_sync(void); | 71 | void adns_sync(void); |
| 72 | uint8_t adns_serial_read(void); | 72 | uint8_t adns_serial_read(void); |
| 73 | void adns_serial_write(uint8_t data); | 73 | void adns_serial_write(uint8_t data); |
| 74 | uint8_t adns_read_reg(uint8_t reg_addr); | 74 | uint8_t adns_read_reg(uint8_t reg_addr); |
| 75 | void adns_write_reg(uint8_t reg_addr, uint8_t data); | 75 | void adns_write_reg(uint8_t reg_addr, uint8_t data); |
| 76 | report_adns_t adns_read_burst(void); | 76 | report_adns_t adns_read_burst(void); |
| 77 | int8_t convert_twoscomp(uint8_t data); | 77 | int8_t convert_twoscomp(uint8_t data); |
| 78 | void adns_set_cpi(uint8_t cpi); | 78 | void adns_set_cpi(uint8_t cpi); |
| 79 | bool adns_check_signature(void); | 79 | bool adns_check_signature(void); |
