firmware: Set stack pointer to a correct value
This commit is contained in:
parent
bd58af96d2
commit
b244ab9c9f
@ -1847,8 +1847,12 @@ static void usb_disable(void)
|
||||
|
||||
// }}}
|
||||
|
||||
extern uint8_t _start__stack[];
|
||||
|
||||
void main(void)
|
||||
{
|
||||
SP = (uint8_t)_start__stack;
|
||||
|
||||
PAGESW = 0;
|
||||
|
||||
// setup interrupts
|
||||
|
Loading…
Reference in New Issue
Block a user