Skip to content

Commit

Permalink
fix #82: Turning boost on and off can get filterpump in wrong state
Browse files Browse the repository at this point in the history
  • Loading branch information
ballle98 committed Jun 11, 2024
1 parent 44453f9 commit 89c86df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pda.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,11 @@ void process_pda_packet_msg_long_home(const char *msg)
else
{
_aqualink_data->aqbuttons[SPA_INDEX].led->state = OFF;
if ((stristr(pda_m_line(4), "POOL MODE") != NULL) &&
(pda_m_line(4)[AQ_MSGLEN - 1] == 'F'))
{
_aqualink_data->aqbuttons[PUMP_INDEX].led->state = OFF;
}
}
}
else if (stristr(msg, "SPA HEATER") != NULL)
Expand Down

0 comments on commit 89c86df

Please sign in to comment.