fix: LEDA宏指向绿灯PA9, 删除LEDB宏

- LEDA_ON/LEDA_OFF → 控制绿灯 (PA9, LED_GREEN)
- 删除 LEDB_ON/LEDB_OFF 宏 (无实际IO)
- 红灯(PB1)由TMR14 PWM直接驱动, 不需GPIO宏
- 更新 board_init 注释
This commit is contained in:
wangfq
2026-06-23 14:29:02 +08:00
parent 6dfa9ee831
commit 8439f2e72b
3 changed files with 16 additions and 18 deletions

View File

@@ -213,9 +213,9 @@ void poll_green_led(void)
/*--- 正常工作:车辆存在指示 ---*/
_slow_tick = 0;
if (loop1_VD_FLAG)
LEDB_ON;
LEDA_ON;
else
LEDB_OFF;
LEDA_OFF;
}
/*===========================================================================