diff --git a/Tools/Hello/Hello.cpp b/Tools/Hello/Hello.cpp index bc71c9b2ed..0f93a4cad4 100644 --- a/Tools/Hello/Hello.cpp +++ b/Tools/Hello/Hello.cpp @@ -5,17 +5,20 @@ #include +void setup(); +void loop(); + const AP_HAL::HAL& hal = AP_HAL::get_HAL(); void setup() { - hal.console->printf("hello world\n"); + hal.console->printf("hello world\n"); } void loop() { - hal.scheduler->delay(1000); - hal.console->printf("*\n"); + hal.scheduler->delay(1000); + hal.console->printf("*\n"); } AP_HAL_MAIN();