1
0
Fork 0

Format code according to conventions (#15604)

This commit is contained in:
QMK Bot 2021-12-27 15:08:44 -08:00 committed by GitHub
parent c86baf3ece
commit 25707cad5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 8 deletions

View file

@ -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();