mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +02:00
Remove improvised define from CAN lib
This commit is contained in:
parent
9d8e20ce56
commit
7bba6237c2
1 changed files with 1 additions and 4 deletions
|
@ -36,6 +36,7 @@
|
||||||
|
|
||||||
#include "esp_intr_alloc.h" // Renamed when migrating ESP32 2.x -> 3.x
|
#include "esp_intr_alloc.h" // Renamed when migrating ESP32 2.x -> 3.x
|
||||||
#include "soc/dport_reg.h"
|
#include "soc/dport_reg.h"
|
||||||
|
#include "soc/gpio_sig_map.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#include "driver/gpio.h"
|
#include "driver/gpio.h"
|
||||||
|
@ -43,10 +44,6 @@
|
||||||
#include "can_regdef.h"
|
#include "can_regdef.h"
|
||||||
#include "CAN_config.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
|
// CAN Filter - no acceptance filter
|
||||||
static CAN_filter_t __filter = { Dual_Mode, 0, 0, 0, 0, 0Xff, 0Xff, 0Xff, 0Xff };
|
static CAN_filter_t __filter = { Dual_Mode, 0, 0, 0, 0, 0Xff, 0Xff, 0Xff, 0Xff };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue