fix(vd960DBN): 删除重复 poll_mqtt 定义 + 加头文件声明

This commit is contained in:
wangfq
2026-07-06 17:30:28 +08:00
parent c17b67d185
commit 220f778117
2 changed files with 1 additions and 23 deletions
@@ -423,29 +423,6 @@ void mqtt_data_manage(uint8_t id)
/*********************************************************************
* @fn poll_mqtt
*
* @brief MQTT 心跳轮询 — IoT 模式 (ref: DBN101GA)
*
* @return none
*/
void poll_mqtt(void)
{
if (g_net_state.flag < 2) return;
static uint8_t _ping_counter = 0;
_ping_counter++;
if (_ping_counter >= 90) { // ~9s (roughly, based on loop period)
_ping_counter = 0;
MQTT_Pingreq();
PRINT("MQTT PINGREQ\n");
}
}
/*********************************************************************
* @fn WCHNET_DataManage
*