feat: autohold, persistent config (ext flash), a little cleanup? maybe

This commit is contained in:
2025-12-04 02:18:47 +06:00
parent 054bc38683
commit 9fed882f50
9 changed files with 1376 additions and 720 deletions

View File

@@ -9,11 +9,7 @@
#define SYSTICK_ONE_MILLISECOND ((uint32_t)FUNCONF_SYSTEM_CORE_CLOCK / 1000)
#define SYSTICK_ONE_MICROSECOND ((uint32_t)FUNCONF_SYSTEM_CORE_CLOCK / 1000000)
extern volatile uint32_t systick_millis;
#define millis() (systick_millis)
#define micros() (SysTick->CNT / SYSTICK_ONE_MICROSECOND)
void systick_init(void);
#endif // SYSTICK_H