AP_HAL: create and use INTERNAL_ERROR macro so we get line numbers

This commit is contained in:
Peter Barker 2020-04-30 10:40:46 +10:00 committed by Peter Barker
parent 48da4e523c
commit 141d7fed48

View File

@ -59,7 +59,8 @@ public:
uint32_t fault_icsr;
uint32_t fault_lr;
uint32_t internal_errors;
uint32_t internal_error_count;
uint16_t internal_error_count;
uint16_t internal_error_last_line;
uint32_t spi_count;
uint32_t i2c_count;
uint32_t i2c_isr_count;