mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
HAL_AVR: fixed examples build
This commit is contained in:
parent
01ba5a0e0c
commit
de4d505f62
@ -119,20 +119,6 @@ void setup(void)
|
||||
stream_loopback(hal.console, 10000);
|
||||
hal.console->println("loopback done");
|
||||
|
||||
hal.console->println("opening backend:");
|
||||
|
||||
hal.console->backend_open();
|
||||
|
||||
const char hello[] = "hello world\r\n";
|
||||
hal.console->backend_write((const uint8_t*)hello, strlen(hello));
|
||||
|
||||
hal.console->println("loopback for 10sec:");
|
||||
stream_console_loopback(hal.console, hal.console, 10000);
|
||||
hal.console->println("loopback done");
|
||||
|
||||
hal.console->backend_close();
|
||||
hal.console->println("closed backend.");
|
||||
|
||||
hal.console->println("done.");
|
||||
for(;;);
|
||||
|
||||
|
@ -115,21 +115,6 @@ void setup(void)
|
||||
stream_loopback(hal.console, 10000);
|
||||
hal.console->println("loopback done");
|
||||
|
||||
hal.console->println("opening backend:");
|
||||
|
||||
hal.console->backend_open();
|
||||
|
||||
const char hello[] = "hello world\r\n";
|
||||
hal.console->backend_write((const uint8_t*)hello, strlen(hello));
|
||||
|
||||
hal.console->println("loopback for 10sec:");
|
||||
stream_console_loopback(hal.console, hal.console, 10000);
|
||||
hal.console->println("loopback done");
|
||||
|
||||
hal.console->backend_close();
|
||||
hal.console->println("closed backend.");
|
||||
|
||||
hal.console->println("done.");
|
||||
for(;;);
|
||||
|
||||
}
|
||||
|
@ -94,21 +94,6 @@ void setup(void)
|
||||
stream_loopback(hal.console, 10000);
|
||||
hal.console->println("loopback done");
|
||||
|
||||
hal.console->println("opening backend:");
|
||||
|
||||
hal.console->backend_open();
|
||||
|
||||
const char hello[] = "hello world\r\n";
|
||||
hal.console->backend_write((const uint8_t*)hello, strlen(hello));
|
||||
|
||||
hal.console->println("loopback for 10sec:");
|
||||
stream_console_loopback(hal.console, hal.console, 10000);
|
||||
hal.console->println("loopback done");
|
||||
|
||||
hal.console->backend_close();
|
||||
hal.console->println("closed backend.");
|
||||
|
||||
hal.console->println("done.");
|
||||
for(;;);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user