rename SMA defines, to use more consistent naming

This commit is contained in:
lenvm 2024-12-29 01:38:56 +01:00
parent 43d3e781eb
commit 08e0ea5f6d
10 changed files with 23 additions and 23 deletions

View file

@ -90,7 +90,7 @@ void init_contactors() {
// Main functions
void handle_contactors() {
#if defined(BYD_SMA) || defined(SMA_TRIPOWER_CAN)
#if defined(SMA_BYD_H_CAN) || defined(SMA_BYD_HVS_CAN) || defined(SMA_TRIPOWER_CAN)
datalayer.system.status.inverter_allows_contactor_closing = digitalRead(INVERTER_CONTACTOR_ENABLE_PIN);
#endif