forked from test34/can_wizard
fix software filtering staying on
This commit is contained in:
parent
6bc8fbe979
commit
e794b50f2c
1 changed files with 2 additions and 0 deletions
|
@ -160,6 +160,8 @@ static int canup(int argc, char **argv) {
|
|||
f_config = my_filters;
|
||||
printf("Using %s filters.\n", adv_filters.enabled ? "smart" : "basic hw");
|
||||
} else {
|
||||
adv_filters.enabled = false;
|
||||
adv_filters.sw_filtering = false;
|
||||
f_config = (twai_filter_config_t) TWAI_FILTER_CONFIG_ACCEPT_ALL();
|
||||
printf("Using accept all filters.\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue