fix: 补上 g_sys_freq 全局变量定义,修复链接错误

This commit is contained in:
wangfq
2026-07-20 09:13:35 +08:00
parent 8157ce41bd
commit 47abba1542
@@ -34,6 +34,7 @@ uint8_t g_flag_bt_state = 0; // 0 蓝牙没有连接,1 有蓝牙连接
uint8_t g_flag_output = 0; uint8_t g_flag_output = 0;
uint32_t g_xn_counter = 0; uint32_t g_xn_counter = 0;
uint8_t g_function_mode = 0; uint8_t g_function_mode = 0;
uint32_t g_sys_freq = 0;
#define RLY1_ON (R32_PA_OUT |= BV(8)) #define RLY1_ON (R32_PA_OUT |= BV(8))
#define RLY1_OFF (R32_PA_OUT &= ~BV(8)) #define RLY1_OFF (R32_PA_OUT &= ~BV(8))