47,14 → 47,14 |
for(i=0;i<bt_device_count;i++) |
{ |
if (i<3) |
{ |
|
if (selected_bt_device==i) |
sprintf(disp_txt,"#%s",names[i]); |
else |
sprintf(disp_txt," %s",names[i]); |
write_display(i,disp_txt); |
} |
{ |
|
if (selected_bt_device==i) |
sprintf(disp_txt,"#%s",names[i]); |
else |
sprintf(disp_txt," %s",names[i]); |
write_display(i,disp_txt); |
} |
} |
} |
|
88,7 → 88,7 |
|
|
|
bt_host_init(); |
// bt_host_init(); |
|
if (argv[1]) |
parse_config(argv[1]); |
217,7 → 217,7 |
{ |
|
// blink_evdev_led(); |
bt_host_tick(mk_socket); |
// bt_host_tick(mk_socket); |
usleep(loop_delay); |
|
|
332,7 → 332,7 |
|
RxBuffer[1]=0; |
read_from_mk(); |
bt_host_send(RxBuffer,rx_last_length); |
// bt_host_send(RxBuffer,rx_last_length); |
printf("sending to host: %s",PrintableRxBuffer); |
|
|