#include "ESP32CAN.h"

int ESP32CAN::CANInit() {
    return CAN_init();
}
int ESP32CAN::CANWriteFrame(const CAN_frame_t* p_frame) {
    return CAN_write_frame(p_frame);
}
int ESP32CAN::CANStop() {
    return CAN_stop();
}
int ESP32CAN::CANConfigFilter(const CAN_filter_t* p_filter) {
    return CAN_config_filter(p_filter);
}

ESP32CAN ESP32Can;
