Copter: correct typo in error #define
This commit is contained in:
parent
8a886c0e19
commit
77b5cb5d3f
@ -435,7 +435,7 @@ enum ap_message {
|
||||
#define ERROR_SUBSYSTEM_FAILSAFE_GPS 7
|
||||
#define ERROR_SUBSYSTEM_FAILSAFE_GCS 8
|
||||
#define ERROR_SUBSYSTEM_FAILSAFE_FENCE 9
|
||||
#define ERROR_SUBSYSTEM_FLGHT_MODE 10
|
||||
#define ERROR_SUBSYSTEM_FLIGHT_MODE 10
|
||||
#define ERROR_SUBSYSTEM_GPS 11
|
||||
// general error codes
|
||||
#define ERROR_CODE_ERROR_RESOLVED 0
|
||||
|
@ -479,7 +479,7 @@ static bool set_mode(uint8_t mode)
|
||||
Log_Write_Mode(control_mode);
|
||||
}else{
|
||||
// Log error that we failed to enter desired flight mode
|
||||
Log_Write_Error(ERROR_SUBSYSTEM_FLGHT_MODE,mode);
|
||||
Log_Write_Error(ERROR_SUBSYSTEM_FLIGHT_MODE,mode);
|
||||
}
|
||||
|
||||
// return success or failure
|
||||
|
Loading…
Reference in New Issue
Block a user