feat: save received data from BLE to flash

This commit is contained in:
Dien-Nhung Nguyen-Phu
2024-06-23 19:44:32 +07:00
parent 8274cab154
commit 86e6f0db4d
6 changed files with 181 additions and 35 deletions

11
src/power.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef __RESET_H__
#define __RESET_H__
static inline void reset_jump()
{
asm volatile("j 0x00");
}
void poweroff();
#endif /* __RESET_H__ */