docs: V3.03 文档同步 (devlog+product-manual+technical-spec)

This commit is contained in:
wangfq
2026-07-31 18:09:56 +08:00
parent 1da7b984f1
commit 1757674318
6 changed files with 42 additions and 10 deletions
@@ -17,10 +17,10 @@
*/
#define PRODUCT_MODEL "DLD154Pro"
#define FIRMWARE_VER "3.02"
#define FIRMWARE_VER "3.03"
#define HARDWARE_VER "3.01"
#define FIRMWARE_VER_MAIN 3
#define FIRMWARE_VER_SUB 2
#define FIRMWARE_VER_SUB 3
#define HARDWARE_VER_MAIN 3
#define HARDWARE_VER_SUB 1
@@ -729,6 +729,7 @@ static void simpleProfileChangeCB(uint8_t paramID, uint8_t *pValue, uint16_t len
g_ble_rcv_buf.buf[3] == 'O' && g_ble_rcv_buf.buf[4] == 'T' && g_ble_rcv_buf.buf[5] == 'A'){
// 0x4F, 0x54, 0x41
// PRINT("jump OTA \n");
WWDG_ResetCfg(DISABLE);
mDelaymS(5);
Jump_OTA();
}
@@ -139,7 +139,6 @@ uint32_t mstick(void){
return TimingDelayInc;
}
uint32_t u32CountWdt = 0;
uint8_t g_loop_cut_last = 0;
uint32_t g_loop_cut_amount = 0;
@@ -170,6 +169,8 @@ uint8_t Flt_Reg = 0;
uint8_t TM1cnt = 0;
uint16_t g_hold_time = 0;
uint16_t g_wdg_counter = 0;
/*===========================================================================
* 捕获 & 测量
*===========================================================================*/
@@ -1026,6 +1027,15 @@ static void opt_input_poll(void)
}
}
void poll_wdg(void)
{
if(g_wdg_counter >= 100) //500ms
{
g_wdg_counter = 0;
WWDG_SetCounter(0);
}
}
/*********************************************************************
* @fn Main_Circulation
@@ -1061,7 +1071,7 @@ void Main_Circulation()
}
}
WWDG_SetCounter(WDOG_TIMEOUT); // 喂狗
poll_wdg(); // 喂狗
}
}
@@ -1108,7 +1118,7 @@ int main(void)
/* 使能看门狗复位: 超时 ~558ms, 主循环喂狗 */
WWDG_ResetCfg(ENABLE);
WWDG_SetCounter(WDOG_TIMEOUT);
WWDG_SetCounter(0);
Main_Circulation();
}
@@ -1213,7 +1223,7 @@ void TMR1_IRQHandler(void)
}
TimingDelayInc++;
u32CountWdt++;
g_wdg_counter++;
/*--- LED: 断开中 200ms 快闪; 稳定期 200ms 慢闪 ---*/
if(g_disconnect_active || !g_loop_power_up_state)