|
@@ -191,10 +191,8 @@ inline void HAL_reboot() {} // reboot the board or restart the bootloader
|
191
|
191
|
|
192
|
192
|
void _delay_ms(const int delay);
|
193
|
193
|
|
194
|
|
-#if GCC_VERSION <= 50000
|
195
|
|
- #pragma GCC diagnostic push
|
196
|
|
- #pragma GCC diagnostic ignored "-Wunused-function"
|
197
|
|
-#endif
|
|
194
|
+#pragma GCC diagnostic push
|
|
195
|
+#pragma GCC diagnostic ignored "-Wunused-function"
|
198
|
196
|
|
199
|
197
|
/*
|
200
|
198
|
extern "C" {
|
|
@@ -209,9 +207,7 @@ static inline int freeMemory() {
|
209
|
207
|
return &top - _sbrk(0);
|
210
|
208
|
}
|
211
|
209
|
|
212
|
|
-#if GCC_VERSION <= 50000
|
213
|
|
- #pragma GCC diagnostic pop
|
214
|
|
-#endif
|
|
210
|
+#pragma GCC diagnostic pop
|
215
|
211
|
|
216
|
212
|
//
|
217
|
213
|
// ADC
|