mirror of https://github.com/ArduPilot/ardupilot
AP_InternalError: correct cast in debug statement
This commit is contained in:
parent
2cb69366c8
commit
0b44525bda
|
@ -5,7 +5,7 @@ static AP_InternalError instance;
|
|||
|
||||
void AP_InternalError::error(const AP_InternalError::error_t e) {
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
AP_HAL::panic("internal error %u", uint8_t(e));
|
||||
AP_HAL::panic("internal error %u", unsigned(e));
|
||||
#endif
|
||||
internal_errors |= uint32_t(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue