Revision 744
Updated wireless library.
main.c | ||
---|---|---|
12 | 12 |
int seconds = 60; |
13 | 13 |
if (argc >= 2 && !strcmp(argv[1], "-t")) |
14 | 14 |
seconds = atoi(argv[2]); |
15 |
|
|
16 |
wl_set_com_port("/dev/ttyUSB0"); |
|
15 | 17 |
|
16 |
wl_set_com_port("/dev/ttyUSB0"); |
|
17 | 18 |
wl_init(); |
19 |
//wl_token_logger_register(seconds); |
|
20 |
printf("Initialized.\n"); |
|
18 | 21 |
wl_set_channel(0xE); |
19 | 22 |
wl_token_logger_register(seconds); |
20 | 23 |
printf("Started.\n"); |
Also available in: Unified diff