main function is now executed as kosmos thread

This commit is contained in:
tkl
2016-08-20 10:24:03 +02:00
parent 2fb1904de5
commit 2e874a9d56
5 changed files with 39 additions and 29 deletions

View File

@@ -33,10 +33,12 @@ static struct command cmd = {
int main(void)
{
board_init();
shell_init(&uart_1);
shell_add_command(&cmd);
schedule_start();
while(1) {
sleep_ms(1000);
}
return 0;
}