mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_AHRS: create and use INTERNAL_ERROR macro so we get line numbers
This commit is contained in:
parent
069bd04bdc
commit
36fd632a49
@ -2179,7 +2179,7 @@ int8_t AP_AHRS_NavEKF::get_primary_core_index() const
|
||||
}
|
||||
|
||||
// we should never get here
|
||||
AP::internalerror().error(AP_InternalError::error_t::flow_of_control);
|
||||
INTERNAL_ERROR(AP_InternalError::error_t::flow_of_control);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user