15 #if defined(BUILD_MODULE)
16 #include "module_cfg.h"
18 #include "kernel_cfg.h"
29 static int g_bluetooth_command = 0;
30 static FILE* g_bluetooth = NULL;
36 g_bluetooth = ev3_serial_open_file(EV3_SERIAL_BT);
37 assert(g_bluetooth != NULL);
42 msg_f(
"ET-Robocon2018", 1);
43 msg_f(
" create from github.com/korosuke613/etrobocon2018", 2);
46 Lifter lifter{ controller };
67 uint8_t c = fgetc(g_bluetooth);
70 g_bluetooth_command = 1;
75 fputc(c, g_bluetooth);
void msg_f(const char *str, int32_t line)
void main_task(intptr_t unused)
void bt_task(intptr_t unused)