Skip to content

Commit

Permalink
Merge pull request #174 from stuartpittaway/post-valentines-fixes
Browse files Browse the repository at this point in the history
Fix for #173 Victron protocol CANBUS DVCC
  • Loading branch information
stuartpittaway authored Feb 20, 2023
2 parents 3503cc5 + 3941c20 commit 5202c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ESPController/src/victron_canbus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void victron_message_351()
data.chargevoltagelimit = 0;
data.maxchargecurrent = 0;

if (rules.IsChargeAllowed(&mysettings) == false)
if (rules.IsChargeAllowed(&mysettings))
{
if (rules.numberOfBalancingModules > 0 && mysettings.stopchargebalance == true)
{
Expand Down

0 comments on commit 5202c6b

Please sign in to comment.