AP_HAL: correct storage example

This commit is contained in:
Peter Barker 2017-07-03 08:55:44 +10:00 committed by Francisco Ferreira
parent 51fa8fb0bd
commit c163915f6e

View File

@ -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();