HAL_ChibiOS: report thread name in watchdog
This commit is contained in:
parent
09477b2dfe
commit
c61cecdbc7
@ -224,7 +224,7 @@ static void main_loop()
|
||||
if (hal.util->was_watchdog_reset()) {
|
||||
AP::internalerror().error(AP_InternalError::error_t::watchdog_reset);
|
||||
const AP_HAL::Util::PersistentData &pd = hal.util->last_persistent_data;
|
||||
AP::logger().WriteCritical("WDOG", "TimeUS,Tsk,IE,IEC,MvMsg,MvCmd,SmLn,FL,FT,FA,FP,ICSR,LR", "QbIIHHHHHIBII",
|
||||
AP::logger().WriteCritical("WDOG", "TimeUS,Tsk,IE,IEC,MvMsg,MvCmd,SmLn,FL,FT,FA,FP,ICSR,LR,TN", "QbIIHHHHHIBIIn",
|
||||
AP_HAL::micros64(),
|
||||
pd.scheduler_task,
|
||||
pd.internal_errors,
|
||||
@ -237,7 +237,8 @@ static void main_loop()
|
||||
pd.fault_addr,
|
||||
pd.fault_thd_prio,
|
||||
pd.fault_icsr,
|
||||
pd.fault_lr);
|
||||
pd.fault_lr,
|
||||
pd.thread_name4);
|
||||
}
|
||||
#endif // HAL_NO_LOGGING
|
||||
#endif // IOMCU_FW
|
||||
|
Loading…
Reference in New Issue
Block a user