Uncomment setting stack pointer to allow jumping into bootloader
This commit is contained in:
1 parent
3afda0ebf9
commit
b21673e326
1 file changed
+1
-1
+1
-1
@@ -605,7 +605,7 @@ void startup() __attribute__((naked, section(".vectors")));
|
||||
void startup()
|
||||
{
|
||||
asm volatile("clr __zero_reg__");
|
||||
// SP = RAMEND;
|
||||
SP = RAMEND;
|
||||
SREG = 0;
|
||||
asm volatile("jmp main");
|
||||
}
|
||||
Reference in new issue
Block a user