1
0
mirror of https://github.com/Optiboot/optiboot.git synced 2025-09-04 12:02:07 +03:00

Solution to #187

Tested on Arduino IDE 1.6.11.
This commit is contained in:
Christopher
2016-09-14 14:46:44 -05:00
committed by GitHub
parent 814e2a89bd
commit 7a0b60db08

View File

@@ -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)
{