Let's keep the same format version until CAMERA is activated by default

This commit is contained in:
Amilcar Lucas 2012-06-13 21:28:13 +02:00
parent 2cebd44313
commit bd632e9d01
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,7 @@ public:
// The increment will prevent old parameters from being used incorrectly // The increment will prevent old parameters from being used incorrectly
// by newer code. // by newer code.
// //
static const uint16_t k_format_version = 14; static const uint16_t k_format_version = 13;
// The parameter software_type is set up solely for ground station use // The parameter software_type is set up solely for ground station use
// and identifies the software type (eg ArduPilotMega versus ArduCopterMega) // and identifies the software type (eg ArduPilotMega versus ArduCopterMega)
@ -360,6 +360,8 @@ public:
PID pidNavPitchAltitude; PID pidNavPitchAltitude;
Parameters() : Parameters() :
// variable default
//----------------------------------------
format_version (k_format_version), format_version (k_format_version),
software_type (k_software_type), software_type (k_software_type),