Fixed node id handling and discovery
[cerebrum.git] / test / main.c
blobfb62e1056111544e5c065f5584db5a383452d7bb
1 /*
2 Copyright (C) 2012 jaseg <s@jaseg.de>
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License
6 version 3 as published by the Free Software Foundation.
7 */
9 #include <comm.h>
10 #include <autocode.h>
11 #include <config.h>
12 #include <uart.h>
13 #include "comm_handle.h"
15 int main(void){
16 init_auto();
17 //debug stuff
18 int16_t v;
19 while((v = getchar()) >= 0){
20 comm_handle(v);
21 loop_auto();