HAL_AVR: fixed examples build

This commit is contained in:
Andrew Tridgell 2013-10-05 22:03:42 +10:00
parent 01ba5a0e0c
commit de4d505f62
3 changed files with 0 additions and 44 deletions

View File

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

View File

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

View File

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