mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-05-18 13:17:21 +02:00
Fix: properly format Victron MPPT firmware version
This commit is contained in:
@@ -110,7 +110,7 @@ void VeDirectMpptController::frameValidEvent() {
|
||||
// charger periodically sends human readable (TEXT) data to the serial port. For firmware
|
||||
// versions v1.53 and above, the charger always periodically sends TEXT data to the serial port.
|
||||
// --> We just use hex commandes for firmware >= 1.53 to keep text messages alive
|
||||
if (atoi(_tmpFrame.firmwareNr_FW) < 153) { return; }
|
||||
if (_tmpFrame.getFwVersionAsInteger() < 153) { return; }
|
||||
|
||||
using Command = VeDirectHexCommand;
|
||||
using Register = VeDirectHexRegister;
|
||||
|
||||
Reference in New Issue
Block a user