requested style changes
This commit is contained in:
parent
3d1b6d9fc8
commit
a96317d566
@ -38,6 +38,8 @@
|
||||
|
||||
#define MAX_SPI 6 //TODO; replace this as part of periph cleanup
|
||||
#define ALL_CLOCKS 0xFF
|
||||
|
||||
//arrays use 0 based numbering: SPI1 is stored at index 0
|
||||
STATIC bool reserved_spi[MAX_SPI];
|
||||
STATIC bool never_reset_spi[MAX_SPI];
|
||||
|
||||
@ -360,4 +362,4 @@ STATIC void spi_clock_disable(uint8_t mask) {
|
||||
#ifdef SPI6
|
||||
if (mask & 1<<5) __HAL_RCC_SPI6_CLK_DISABLE();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user