🎨 Pragma GCC cleanup

This commit is contained in:
Scott Lahteine
2021-10-19 05:52:41 -05:00
committed by Scott Lahteine
parent 18b38fb58a
commit aa198e41dd
13 changed files with 26 additions and 52 deletions

View File

@ -98,16 +98,14 @@ void HAL_reboot();
FORCE_INLINE void _delay_ms(const int delay_ms) { delay(delay_ms); }
#pragma GCC diagnostic push
#if GCC_VERSION <= 50000
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-function"
#endif
extern "C" int freeMemory();
#if GCC_VERSION <= 50000
#pragma GCC diagnostic pop
#endif
#pragma GCC diagnostic pop
// ADC