1
0
mirror of https://github.com/Optiboot/optiboot.git synced 2025-07-03 05:42:30 +03:00

Merge pull request #188 from ctag/patch-1

Declare .init0 section as used in example sketch.
This commit is contained in:
Bill Westfield
2016-10-13 18:32:11 -07:00
committed by GitHub

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