Update for 2.6.8 (Dev)

master
sfeakes 2025-06-14 15:56:27 -05:00
parent 0518337472
commit f95310d170
4 changed files with 5 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1112,7 +1112,7 @@ void updateHeatPumpLed(heatpumpstate state, aqledstate ledstate, struct aqualink
if ( (ledstate == ENABLE && (from == HP_DISPLAY || from == HP_FROM_PANEL)) || if ( (ledstate == ENABLE && (from == HP_DISPLAY || from == HP_FROM_PANEL)) ||
( (ledstate == ON || ledstate == OFF) && (from == HP_DISPLAY || from == HP_TO_PANEL) )) { ( (ledstate == ON || ledstate == OFF) && (from == HP_DISPLAY || from == HP_TO_PANEL) )) {
if ( ledstate != aqdata->chiller_button->led->state) { if ( ledstate != aqdata->chiller_button->led->state) {
aqdata->chiller_button->led->state == ledstate; aqdata->chiller_button->led->state = ledstate;
aqdata->updated = true; aqdata->updated = true;
} }
} }

View File

@ -43,7 +43,7 @@ static struct aqualinkdata *_aqualink_data;
static unsigned char _last_packet_type; static unsigned char _last_packet_type;
static unsigned long _pda_loop_cnt = -0; static unsigned long _pda_loop_cnt = -0;
static bool _initWithRS = false; static bool _initWithRS = false;
static bool first_status_after_clear = false; static bool _first_status_after_clear = false;
// Each RS message is around 0.25 seconds apart // Each RS message is around 0.25 seconds apart
//#define PDA_SLEEP_FOR 120 // //#define PDA_SLEEP_FOR 120 //
@ -876,7 +876,7 @@ bool process_pda_packet(unsigned char *packet, int length)
case CMD_PDA_CLEAR: case CMD_PDA_CLEAR:
read_equiptment_menu = false; // Reset the have read menu flag, since this is new menu. read_equiptment_menu = false; // Reset the have read menu flag, since this is new menu.
first_status_after_clear = true; _first_status_after_clear = true;
break; break;
case CMD_STATUS: case CMD_STATUS:
@ -913,11 +913,11 @@ bool process_pda_packet(unsigned char *packet, int length)
//printf("**** PDA INIT PUT BACK IN ****\n"); //printf("**** PDA INIT PUT BACK IN ****\n");
queueGetProgramData(AQUAPDA, _aqualink_data); queueGetProgramData(AQUAPDA, _aqualink_data);
} }
else if (first_status_after_clear && (pda_m_type() == PM_FREEZE_PROTECT_DEVICES)) else if (_first_status_after_clear && (pda_m_type() == PM_FREEZE_PROTECT_DEVICES))
{ {
process_pda_freeze_protect_devices(); process_pda_freeze_protect_devices();
} }
first_status_after_clear = false; _first_status_after_clear = false;
break; break;
case CMD_MSG_LONG: case CMD_MSG_LONG: