Removing threaded_blink test (duplicate of basic rtos test)

pull/2588/head
Brian Daniels 2016-08-30 14:37:30 -05:00
parent fe1f2b6066
commit 6e223e311c
1 changed files with 0 additions and 29 deletions

View File

@ -1,29 +0,0 @@
#include "test_env.h"
#include "mbed.h"
#include "rtos.h"
#if defined(MBED_RTOS_SINGLE_THREAD)
#error [NOT_SUPPORTED] test not supported
#endif
DigitalOut led1(LED1);
void led1_thread(void const *args) {
int count = 0;
while (true) {
Thread::wait(1000);
greentea_send_kv("tick", count);
count++;
led1 = !led1;
}
}
int main() {
GREENTEA_SETUP(20, "wait_us_auto");
Thread thread(led1_thread);
while (true) {
}
}