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:
@ -23,6 +23,7 @@ uint8_t resetFlags __attribute__ ((section(".noinit")));
|
|||||||
* to the variable. Again, avr-gcc provides special code sections for this.
|
* to the variable. Again, avr-gcc provides special code sections for this.
|
||||||
*/
|
*/
|
||||||
void resetFlagsInit(void) __attribute__ ((naked))
|
void resetFlagsInit(void) __attribute__ ((naked))
|
||||||
|
__attribute__ ((used))
|
||||||
__attribute__ ((section (".init0")));
|
__attribute__ ((section (".init0")));
|
||||||
void resetFlagsInit(void)
|
void resetFlagsInit(void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user