Reduce unused function warnings

This commit is contained in:
Scott Lahteine
2019-08-06 04:46:30 -05:00
parent 1fe195926f
commit fb579212ea
11 changed files with 71 additions and 34 deletions

View File

@ -81,7 +81,10 @@ extern HalSerial usb_serial;
inline void HAL_init(void) { }
// Utility functions
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-function"
int freeMemory(void);
#pragma GCC diagnostic pop
// SPI: Extended functions which take a channel number (hardware SPI only)
/** Write single byte to specified SPI channel */