Moved CAN Interface code to comment libary folder with symlink
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
#define EXTERNAL_TRIGGER GPIO_NUM_26
|
||||
|
||||
void onRX(void *arg) {
|
||||
MCP2521_Command_Interface *mcp2521 = (MCP2521_Command_Interface *)arg;
|
||||
MCP2521 *mcp2521 = (MCP2521 *)arg;
|
||||
|
||||
rx_info info = mcp2521->get_rx_id(MCP2521_RX_BUFFER::RXB0);
|
||||
uint8_t data[8];
|
||||
@@ -70,7 +70,7 @@ extern "C" void app_main() {
|
||||
CAN_INT_PIN
|
||||
);
|
||||
|
||||
MCP2521_Command_Interface mcp2521(&hardware_mcp2521);
|
||||
MCP2521 mcp2521(&hardware_mcp2521);
|
||||
|
||||
uint8_t data[4] = {0xf0, 0x42, 0x13, 0x37};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user