AP_HAL: correct storage example
This commit is contained in:
parent
51fa8fb0bd
commit
c163915f6e
@ -9,13 +9,13 @@ void loop();
|
||||
|
||||
const AP_HAL::HAL& hal = AP_HAL::get_HAL();
|
||||
|
||||
AP_HAL::Storage *st;
|
||||
|
||||
void setup(void)
|
||||
{
|
||||
/*
|
||||
init Storage API
|
||||
*/
|
||||
AP_HAL::Storage *st = hal.storage;
|
||||
|
||||
hal.console->printf("Starting AP_HAL::Storage test\r\n");
|
||||
st->init();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user