Skip to content

Commit

Permalink
Home Accessory Architect v12.2.3 Merlin
Browse files Browse the repository at this point in the history
  • Loading branch information
RavenSystem committed May 11, 2023
1 parent 711b9b4 commit a1889e5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion HAA/HAA_Main/main/header.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "../../common/common_headers.h"

// Version
#define HAA_FIRMWARE_VERSION "12.2.2"
#define HAA_FIRMWARE_VERSION "12.2.3"
#define HAA_FIRMWARE_BETA_REVISION ""
#define HAA_FIRMWARE_CODENAME "Merlin"

Expand Down
12 changes: 8 additions & 4 deletions HAA/HAA_Main/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6902,10 +6902,14 @@ void do_actions(ch_group_t* ch_group, uint8_t action) {
case SERV_TYPE_FREE_MONITOR:
case SERV_TYPE_FREE_MONITOR_ACCUMULATVE:
if (ch_group->main_enabled) {
FM_OVERRIDE_VALUE = action_serv_manager->value;
if (xTaskCreate(free_monitor_task, "FM", FREE_MONITOR_TASK_SIZE, (void*) ch_group, FREE_MONITOR_TASK_PRIORITY, NULL) != pdPASS) {
ERROR("New FM");
homekit_remove_oldest_client();
if (!ch_group->is_working) {
FM_OVERRIDE_VALUE = action_serv_manager->value;
if (xTaskCreate(free_monitor_task, "FM", FREE_MONITOR_TASK_SIZE, (void*) ch_group, FREE_MONITOR_TASK_PRIORITY, NULL) == pdPASS) {
ch_group->is_working = true;
} else {
ERROR("New FM");
homekit_remove_oldest_client();
}
}
}
break;
Expand Down

0 comments on commit a1889e5

Please sign in to comment.