From 6bc07da0eec24d9392efdf949c454f20a5e84126 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 2 Dec 2015 14:41:27 -0200 Subject: [PATCH] AP_HAL: use init() method without arguments Override the init() method from parent class that doesn't have a parameter since it's not used here. --- libraries/AP_HAL/examples/Storage/Storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL/examples/Storage/Storage.cpp b/libraries/AP_HAL/examples/Storage/Storage.cpp index addc0f6436..95f01039e1 100644 --- a/libraries/AP_HAL/examples/Storage/Storage.cpp +++ b/libraries/AP_HAL/examples/Storage/Storage.cpp @@ -14,7 +14,7 @@ void setup(void) init Storage API */ hal.console->printf("Starting AP_HAL::Storage test\r\n"); - st->init(NULL); + st->init(); /* Calculate XOR of the full conent of memory