summaryrefslogtreecommitdiff
path: root/drivers/sensors/adns9800.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-12-27 15:08:44 -0800
committerGitHub <noreply@github.com>2021-12-28 10:08:44 +1100
commit25707cad5cbe3a6955d0fd597f7449818dea4849 (patch)
tree3b8d5f28cb6683e1d85d336be518b54004e9552a /drivers/sensors/adns9800.c
parentc86baf3ecea618ce42263c06ac5d0922ea8817fa (diff)
downloadqmk_firmware-25707cad5cbe3a6955d0fd597f7449818dea4849.tar.gz
qmk_firmware-25707cad5cbe3a6955d0fd597f7449818dea4849.zip
Format code according to conventions (#15604)
Diffstat (limited to 'drivers/sensors/adns9800.c')
-rw-r--r--drivers/sensors/adns9800.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/sensors/adns9800.c b/drivers/sensors/adns9800.c
index 995c9e8614..425cf9912f 100644
--- a/drivers/sensors/adns9800.c
+++ b/drivers/sensors/adns9800.c
@@ -77,9 +77,7 @@
#define MSB1 0x80
// clang-format on
-void adns9800_spi_start(void) {
- spi_start(ADNS9800_CS_PIN, false, ADNS9800_SPI_MODE, ADNS9800_SPI_DIVISOR);
-}
+void adns9800_spi_start(void) { spi_start(ADNS9800_CS_PIN, false, ADNS9800_SPI_MODE, ADNS9800_SPI_DIVISOR); }
void adns9800_write(uint8_t reg_addr, uint8_t data) {
adns9800_spi_start();