ArduCopter: print firmware version of code instead of zero.

This commit is contained in:
rmackay9 2012-09-13 21:49:11 +09:00
parent 9e66b555cb
commit b6d2d4723f
2 changed files with 2 additions and 2 deletions

View File

@ -1243,7 +1243,7 @@ static void report_gps()
static void report_version() static void report_version()
{ {
Serial.printf_P(PSTR("FW Ver: %d\n"),(int)g.format_version.get()); Serial.printf_P(PSTR("FW Ver: %d\n"),(int)g.k_format_version);
print_divider(); print_divider();
print_blanks(2); print_blanks(2);
} }

View File

@ -109,7 +109,7 @@ static void init_ardupilot()
isr_registry.init(); isr_registry.init();
// //
// Check the EEPROM format version before loading any parameters from EEPROM. // Report firmware version code expect on console (check of actual EEPROM format version is done in load_parameters function)
// //
report_version(); report_version();