mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: remove posix test from uart example
This commit is contained in:
parent
d46d2189ec
commit
9bcac597b6
|
@ -4,9 +4,7 @@
|
|||
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#if AP_FILESYSTEM_POSIX_ENABLED
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
void setup();
|
||||
void loop();
|
||||
|
@ -61,9 +59,7 @@ void loop(void)
|
|||
|
||||
// also do a raw printf() on some platforms, which prints to the
|
||||
// debug console
|
||||
#if AP_FILESYSTEM_POSIX_ENABLED
|
||||
::printf("Hello on debug console at %.3f seconds\n", (double)(AP_HAL::millis() * 0.001f));
|
||||
#endif
|
||||
|
||||
hal.scheduler->delay(1000);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue