Moved CAN Interface code to comment libary folder with symlink

This commit is contained in:
AlexanderHD27
2024-11-06 23:14:14 +01:00
parent e7a0035041
commit c6fd825e39
19 changed files with 54 additions and 100 deletions

View File

@@ -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};