17#pragma GCC diagnostic push
18#pragma GCC diagnostic ignored "-Wpedantic"
20#pragma GCC diagnostic pop
24#define DEBUG_SERIAL (1 && DEBUG)
25#define DEBUG_CAN (1 && DEBUG)
35#define DEBUG_GENERAL 1
46#if DEBUG_GENERAL && DEBUG_SERIAL
58#if DEBUG_GENERAL && DEBUG_SERIAL
78inline void DBG_GENERAL_CAN(canid_t
id, uint8_t data0 = 0x00, uint8_t data1 = 0x00,
void DBG_GENERAL_CAN(canid_t id, uint8_t data0=0x00, uint8_t data1=0x00, uint8_t data2=0x00, uint8_t data3=0x00, uint8_t data4=0x00, uint8_t data5=0x00, uint8_t data6=0x00, uint8_t data7=0x00)
Sends arbitrary debug data via CAN with specified message ID and data bytes.
void DBGLN_GENERAL(const char *x)
Prints a line to the serial console for general debug.
void DBG_GENERAL(const char *x)
Prints a general debug message to the serial console.
Declaration of the Debug_CAN namespace for CAN debugging functions.
Declaration of the Debug_Serial namespace for serial debugging functions.
Enumeration definitions for the VCU.
void send_message(canid_t id, uint8_t data0=0x00, uint8_t data1=0x00, uint8_t data2=0x00, uint8_t data3=0x00, uint8_t data4=0x00, uint8_t data5=0x00, uint8_t data6=0x00, uint8_t data7=0x00)
Sends arbitrary debug data via CAN with specified message ID and data bytes.
void println(const char *msg)
Prints a string AND a newline to the serial console.
void print(const char *msg)
Prints a string to the serial console.