Skip to content

Commit

Permalink
Update drv_bl_shared.c
Browse files Browse the repository at this point in the history
  • Loading branch information
2Fblob authored Nov 4, 2024
1 parent 4196c40 commit 1f50a7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/driver/drv_bl_shared.c
Original file line number Diff line number Diff line change
Expand Up @@ -881,9 +881,9 @@ void BL_ProcessUpdate(float voltage, float current, float power,

// Temporary for aditional battery module
// Forces 'ON' Between 1PM and 3PM to acco odate charge if there is no solar
if (((check_time >= 40 && check_time <= 58 && net_energy_equivalent <= -200) && (check_hour >= 8 && check_hour <= 13))||(check_hour == 12 || check_hour == 13)) {
if (((check_time >= 40 && check_time <= 58 && net_energy_equivalent <= -200) && (check_hour >= 8 && check_hour <= 13))||(check_hour == 14 || check_hour == 16)) {
dump_load_relay[4] = 1; // Turn on dehumidifier
} else if (check_time == 59 || net_energy >= -30) {
} else if (check_time == 59 || net_energy >= -10) {
dump_load_relay[4] = 0; // Turn off dehumidifier
}

Expand Down

0 comments on commit 1f50a7e

Please sign in to comment.