Browse Source

VARTest: convert to using StorageManager

master
Andrew Tridgell 11 years ago
parent
commit
65614da10b
  1. 3
      Tools/VARTest/VARTest.pde

3
Tools/VARTest/VARTest.pde

@ -14,6 +14,7 @@ @@ -14,6 +14,7 @@
#include <AP_HAL.h>
#include <AP_Menu.h>
#include <AP_Param.h>
#include <StorageManager.h>
#include <AP_GPS.h> // ArduPilot GPS library
#include <AP_Baro.h> // ArduPilot barometer library
#include <AP_Compass.h> // ArduPilot Mega Magnetometer Library
@ -65,7 +66,7 @@ const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; @@ -65,7 +66,7 @@ const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
// constructor runs before the constructors of the other AP_Param
// variables
extern const AP_Param::Info var_info[];
AP_Param param_loader(var_info, WP_START_BYTE);
AP_Param param_loader(var_info);
static Parameters g;

Loading…
Cancel
Save