remove some comments and redundant type

This commit is contained in:
Данила Горнушко 2023-11-29 15:52:06 +03:00
parent 6a539824be
commit cbf3d97f5c
4 changed files with 1 additions and 10 deletions

View file

@ -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

View file

@ -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;

View file

@ -8,14 +8,6 @@
#include <stdint.h>
#include <list.h>
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,

View file

@ -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) {