mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 18:29:48 +02:00
Fix const datacast to avoid warning
This commit is contained in:
parent
a0905fa40a
commit
518ee3eda8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue