mirror of
https://github.com/Optiboot/optiboot.git
synced 2025-07-04 16:42:25 +03:00
Merge pull request #188 from ctag/patch-1
Declare .init0 section as used in example sketch.
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user