diff --git a/BootLoaders/Boards/stm32/libraries/SPI/src/SPI.h b/BootLoaders/Boards/stm32/libraries/SPI/src/SPI.h index 686d23d..09c50a4 100644 --- a/BootLoaders/Boards/stm32/libraries/SPI/src/SPI.h +++ b/BootLoaders/Boards/stm32/libraries/SPI/src/SPI.h @@ -160,11 +160,11 @@ private: /* Should move this to within the class once tested out, just for tidyness */ -static uint8_t ff = 0XFF; -static void (*_spi1_this); -static void (*_spi2_this); +static uint8_t __attribute__ ((unused)) ff = 0XFF; +static void __attribute__ ((unused)) (*_spi1_this); +static void __attribute__ ((unused)) (*_spi2_this); #if BOARD_NR_SPI >= 3 -static void (*_spi3_this); +static void __attribute__ ((unused)) (*_spi3_this); #endif /**