AP_HAL: remove posix test from uart example

This commit is contained in:
Peter Barker 2023-05-15 13:55:53 +10:00 committed by Peter Barker
parent d46d2189ec
commit 9bcac597b6
1 changed files with 0 additions and 4 deletions

View File

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