Uncomment setting stack pointer to allow jumping into bootloader

This commit is contained in:
BlackMark 2020-04-12 18:43:53 +02:00
parent 3afda0ebf9
commit b21673e326

View File

@ -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");
}