Add missing function

This commit is contained in:
Jaakko Haakana 2025-05-11 22:34:23 +03:00
parent 637d7f7771
commit 31b7e12117
2 changed files with 10 additions and 0 deletions

View file

@ -47,4 +47,10 @@ void transmit_can_inverter(unsigned long currentMillis) {
}
#endif
#ifdef RS485_INVERTER_SELECTED
void receive_RS485() {
((Rs485InverterProtocol*)inverter)->receive_RS485();
}
#endif
#endif

View file

@ -90,4 +90,8 @@ void map_can_frame_to_variable_inverter(CAN_frame rx_frame);
void transmit_can_inverter(unsigned long currentMillis);
#endif
#ifdef RS485_INVERTER_SELECTED
void receive_RS485();
#endif
#endif