Copter: correct typo in error #define

This commit is contained in:
Randy Mackay 2013-09-24 20:47:54 +09:00
parent 8a886c0e19
commit 77b5cb5d3f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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