diff --git a/optiboot/examples/test_reset/test_reset.ino b/optiboot/examples/test_reset/test_reset.ino index f0db737..69f002b 100644 --- a/optiboot/examples/test_reset/test_reset.ino +++ b/optiboot/examples/test_reset/test_reset.ino @@ -23,6 +23,7 @@ uint8_t resetFlags __attribute__ ((section(".noinit"))); * to the variable. Again, avr-gcc provides special code sections for this. */ void resetFlagsInit(void) __attribute__ ((naked)) + __attribute__ ((used)) __attribute__ ((section (".init0"))); void resetFlagsInit(void) {