restore SP when exit

This commit is contained in:
2025-12-17 15:17:51 +08:00
parent 90b7839112
commit 6a3b949530
2 changed files with 9 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
#include <stdint.h>
#include <stm8s.h>
#include <delay.h>
#include <bootloader.h>
#define LED_PIN 5