From 45ce2c98b6156cfcbe565fb6971fa3785d88ac09 Mon Sep 17 00:00:00 2001 From: Ben Lye Date: Tue, 19 Dec 2017 21:36:18 +0000 Subject: [PATCH] Update SPI.h --- BootLoaders/Boards/stm32/libraries/SPI/src/SPI.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 /**