test watchdog
This commit is contained in:
@@ -419,7 +419,7 @@ void chrg_roll_nor_thread_entry (void *data)
|
|||||||
chrg_roll_nor_sw_uart((eIDX_NOR_CH)i, ID_SINK);
|
chrg_roll_nor_sw_uart((eIDX_NOR_CH)i, ID_SINK);
|
||||||
}
|
}
|
||||||
while (1) {
|
while (1) {
|
||||||
chrg_wdt_feed();
|
chrg_wdt_feed();
|
||||||
rt_mutex_take(pTHR->mutex, RT_WAITING_FOREVER);
|
rt_mutex_take(pTHR->mutex, RT_WAITING_FOREVER);
|
||||||
run = pROLL->run;
|
run = pROLL->run;
|
||||||
rt_mutex_release(pTHR->mutex);
|
rt_mutex_release(pTHR->mutex);
|
||||||
|
|||||||
Reference in New Issue
Block a user