Fix const datacast to avoid warning

This commit is contained in:
Daniel Öster 2025-05-22 14:54:12 +03:00
parent a0905fa40a
commit 518ee3eda8

View file

@ -22,7 +22,7 @@ class BydModbusInverter : public ModbusInverterProtocol {
void handle_update_data_modbusp301_byd();
//BYD Modbus specific value
const int MAX_POWER = 40960;
const uint16_t MAX_POWER = 40960;
};
#endif