Skip to content

Commit

Permalink
Home Accessory Architect v12.11.3 Merlin
Browse files Browse the repository at this point in the history
  • Loading branch information
RavenSystem committed Jan 26, 2024
1 parent 2a6eb3f commit eeb0d63
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 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.11.2"
#define HAA_FIRMWARE_VERSION "12.11.3"
#define HAA_FIRMWARE_BETA_REVISION "" // Format: "b01"
#define HAA_FIRMWARE_CODENAME "Merlin"

Expand Down
2 changes: 1 addition & 1 deletion HAA/HAA_Main/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7574,7 +7574,7 @@ void run_homekit_server() {
}

void printf_header() {
INFO("\nHome Accessory Architect "HAA_FIRMWARE_VERSION""HAA_FIRMWARE_BETA_REVISION"\n(c) 2018-2023 José A. Jiménez Campos\n");
INFO("\nHome Accessory Architect "HAA_FIRMWARE_VERSION""HAA_FIRMWARE_BETA_REVISION"\n(c) 2018-2024 José A. Jiménez Campos\n");

#ifdef HAA_DEBUG
INFO("HAA DEBUG ENABLED\n");
Expand Down
6 changes: 5 additions & 1 deletion libs/homekit-rsf/src/tlv.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,11 @@ int tlv_format(const tlv_values_t *values, byte *buffer, size_t *size) {
size_t required_size = 0;
tlv_t *t = values->head;
while (t) {
required_size += t->size + 2 * ((t->size + 254) / 255);
if (t->size > 0) {
required_size += t->size + 2 * ((t->size + 254) / 255);
} else {
required_size += 2;
}
t = t->next;
}

Expand Down

0 comments on commit eeb0d63

Please sign in to comment.