diff --git a/README.md b/README.md index 1a8ecd6..31a51ee 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,4 @@ TODO: clear history and clear screen commands code refactoring updating prompt conflicts with some hints and with some arguments with cansend + test dumb mode diff --git a/main/can.c b/main/can.c index 67ba8a5..c3579aa 100644 --- a/main/can.c +++ b/main/can.c @@ -85,7 +85,6 @@ bool matches_filters(twai_message_t *msg) { return false; } -// TODO: add software filtering void can_task(void* arg) { static const TickType_t can_task_timeout = pdMS_TO_TICKS(200); uint32_t alerts = 0; diff --git a/main/can.h b/main/can.h index 8e3a323..3dd20b2 100644 --- a/main/can.h +++ b/main/can.h @@ -8,14 +8,6 @@ #include #include -typedef struct { - char status[30]; - int tec; - int rec; - int color; - bool extd; -} can_prompt_t; - typedef enum { CAN_NOT_INSTALLED = 0, CAN_STOPPED = 1, diff --git a/main/cmd_can.c b/main/cmd_can.c index 5cccadb..5a0c74f 100644 --- a/main/cmd_can.c +++ b/main/cmd_can.c @@ -149,7 +149,6 @@ static int canup(int argc, char **argv) { esp_err_t res; static twai_timing_config_t t_config; twai_general_config_t gen_cfg = default_g_config; - // TODO: add CAN filtering twai_filter_config_t f_config; int nerrors = arg_parse(argc, argv, (void **) &canup_args); if (nerrors != 0) {