mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-28 19:48:31 -04:00
AP_HAL: added logging of hardware fault information in watchdog
this may help trackdown software bugs that trigger hard faults
This commit is contained in:
parent
12dd33ac2b
commit
c5c96c76ee
@ -66,6 +66,11 @@ public:
|
||||
uint16_t semaphore_line;
|
||||
uint32_t spi_count;
|
||||
uint32_t i2c_count;
|
||||
uint16_t fault_line;
|
||||
uint8_t fault_type;
|
||||
uint8_t fault_thd_prio;
|
||||
uint32_t fault_addr;
|
||||
uint32_t fault_icsr;
|
||||
};
|
||||
struct PersistentData persistent_data;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user