Remove improvised define from CAN lib

This commit is contained in:
Daniel Öster 2024-08-06 21:44:06 +03:00
parent 9d8e20ce56
commit 7bba6237c2

View file

@ -36,6 +36,7 @@
#include "esp_intr_alloc.h" // Renamed when migrating ESP32 2.x -> 3.x
#include "soc/dport_reg.h"
#include "soc/gpio_sig_map.h"
#include <math.h>
#include "driver/gpio.h"
@ -43,10 +44,6 @@
#include "can_regdef.h"
#include "CAN_config.h"
#define TWAI_TX_IDX 123 // TODO: Are these OK?
// not sure what file is needed now, maybe "soc/gpio_sig_map.h" but using hard coded values for now
#define TWAI_RX_IDX 94 // TODO: Are these OK?
// CAN Filter - no acceptance filter
static CAN_filter_t __filter = { Dual_Mode, 0, 0, 0, 0, 0Xff, 0Xff, 0Xff, 0Xff };