mirror of
https://xff.cz/git/pinephone-keyboard/
synced 2024-11-09 14:05:43 +01:00
firmware: Set stack pointer to a correct value
This commit is contained in:
parent
bd58af96d2
commit
b244ab9c9f
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue