mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 18:29:48 +02:00
add lib/pierremolinaro-acan2515
This commit is contained in:
parent
ead4b805e2
commit
86decfbc51
10 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ CAN_device_t CAN_cfg; // CAN Config
|
|||
const int rx_queue_size = 10; // Receive Queue size
|
||||
|
||||
#ifdef DUAL_CAN
|
||||
#include "ACAN2515.h"
|
||||
#include "src/lib/pierremolinaro-acan2515/ACAN2515.h"
|
||||
static const uint32_t QUARTZ_FREQUENCY = 8UL * 1000UL * 1000UL ; // 8 MHz
|
||||
ACAN2515 can(MCP2515_CS, SPI, MCP2515_INT);
|
||||
static ACAN2515_Buffer16 gBuffer;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "../../config.h"
|
||||
#include "../../USER_SETTINGS.h"
|
||||
|
||||
#include "../../ACAN2515.h"
|
||||
#include "../../src/lib/pierremolinaro-acan2515/ACAN2515.h"
|
||||
extern ACAN2515 can;
|
||||
|
||||
extern uint16_t SOC;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue