Files
DLD154Pro/BLE
wangfq c8d1bfa4e8 fix(rs485): 频率从原始 capvd 直接计算,不再依赖 BLE 报告通道
rs485_get_freq(): 用 g_loop_acs_info.loop_capvd + loop1_LPCNT 直接算
freq = FREQ_SYS * LPCNT / capvd + 360

之前 g_loop_acs_info.frequent 只在 usart_packet_processing_acs_loop
里赋值,该路径被 g_dbn_ble_state_acs_enable.enable 门控,
BLE 断开时 freq 永远为 0
2026-07-24 09:46:02 +08:00
..