VARTest: convert to using StorageManager

This commit is contained in:
Andrew Tridgell 2014-08-13 14:46:46 +10:00
parent c150338e53
commit 65614da10b

View File

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