Initial version of PDM support

This commit is contained in:
Daniel 2024-02-01 17:23:41 +02:00
parent 01a17b8c72
commit 4cd5289929
8 changed files with 357 additions and 14 deletions

View file

@ -377,8 +377,12 @@ void receive_can() { // This section checks if we have a complete CAN message i
#ifdef SMA_CAN
receive_can_sma(rx_frame);
#endif
// Charger
#ifdef CHEVYVOLT_CHARGER
receive_can_chevyvolt_charger(rx_frame);
#endif
#ifdef NISSANLEAF_CHARGER
receive_can_nissanleaf_charger(rx_frame);
#endif
} else {
//printf("New extended frame");
@ -441,6 +445,9 @@ void send_can() {
#ifdef CHEVYVOLT_CHARGER
send_can_chevyvolt_charger();
#endif
#ifdef NISSANLEAF_CHARGER
send_can_nissanleaf_charger();
#endif
}
#ifdef DUAL_CAN