Plane: cleanup HIL defines

This commit is contained in:
Andrew Tridgell 2014-01-02 16:29:05 +11:00
parent 24f2ac20de
commit e39247868c
2 changed files with 1 additions and 4 deletions

View File

@ -112,10 +112,8 @@
// HIL_PROTOCOL_MAVLINK Configure for HIL over MAVLink. // HIL_PROTOCOL_MAVLINK Configure for HIL over MAVLink.
// //
// HIL_MODE_DISABLED Configure for standard flight. // HIL_MODE_DISABLED Configure for standard flight.
// HIL_MODE_ATTITUDE Simulator provides attitude and position information.
// HIL_MODE_SENSORS Simulator provides raw sensor values. // HIL_MODE_SENSORS Simulator provides raw sensor values.
// //
// Note that currently HIL_PROTOCOL_XPLANE requires HIL_MODE_ATTITUDE.
// Note that currently HIL_PROTOCOL_MAVLINK requires HIL_MODE_SENSORS. // Note that currently HIL_PROTOCOL_MAVLINK requires HIL_MODE_SENSORS.
// //
//#define HIL_MODE HIL_MODE_DISABLED //#define HIL_MODE HIL_MODE_DISABLED

View File

@ -62,8 +62,7 @@ enum gcs_failsafe {
// are now the same thing, and are sensors based. The old define is // are now the same thing, and are sensors based. The old define is
// kept to allow old APM_Config.h headers to keep working // kept to allow old APM_Config.h headers to keep working
#define HIL_MODE_DISABLED 0 #define HIL_MODE_DISABLED 0
#define HIL_MODE_ATTITUDE 1 #define HIL_MODE_SENSORS 1
#define HIL_MODE_SENSORS 2
enum FlightMode { enum FlightMode {
MANUAL = 0, MANUAL = 0,