Update SPI.h

This commit is contained in:
Ben Lye 2017-12-19 21:36:18 +00:00
parent 4f042c3853
commit 45ce2c98b6

View File

@ -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
/**