diff options
| author | Joel Challis <git@zvecr.com> | 2021-11-01 19:18:33 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-01 19:18:33 +0000 |
| commit | 92385e30cdad61ddfc0461b1ce1340bcb494a68a (patch) | |
| tree | d472f93ed9f4e42e4972630d8178a387b91a51bc /drivers/sensors/adns5050.h | |
| parent | ee371c1295f00c119dd5a1bb2f3d4acedff832a7 (diff) | |
| download | qmk_firmware-92385e30cdad61ddfc0461b1ce1340bcb494a68a.tar.gz qmk_firmware-92385e30cdad61ddfc0461b1ce1340bcb494a68a.zip | |
Manually format develop (#15003)
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); |
