mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
VARTest: convert to using StorageManager
This commit is contained in:
parent
c150338e53
commit
65614da10b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user