Skip to content

Commit

Permalink
Fix temp override
Browse files Browse the repository at this point in the history
  • Loading branch information
FredM67 committed Oct 23, 2024
1 parent 92a98f4 commit 9ffba27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mk2_3phase_RFdatalog_temp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ bool proceedLoadTemperatureOverriding()
{
const auto currentTemperature_x100{ tx_data.temperature_x100[0] };

if (!b_overrideLoadOn && currentTemperature_x100 > iTemperatureThreshold * 100)
if (!b_overrideLoadOn[0] && currentTemperature_x100 > iTemperatureThreshold * 100)
{
// Current temperature is over the threshold, we do not override the load
return false;
Expand Down

0 comments on commit 9ffba27

Please sign in to comment.