Skip to content

Commit

Permalink
Bugfix ARDUINO_ESP8266_MAJOR insteed of ARDUINO_ESP8266_GIT_DESC
Browse files Browse the repository at this point in the history
Signed-off-by: Eduard Deperschmidt <[email protected]>
  • Loading branch information
eduard156d committed Oct 19, 2024
1 parent f680287 commit ccf6042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HomieDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ void HomieDevice::Loop()
static uint32_t ulFreeHeap=0xFFFFFFF;
#if defined(ARDUINO_ARCH_ESP8266)
static uint8_t uHeapFrag=0;
#if ARDUINO_ESP8266_GIT_DESC < 3
#if !defined(ARDUINO_ESP8266_MAJOR) || ARDUINO_ESP8266_MAJOR < 3
static uint16_t ulFreeHeapContig=0xFFFF;
#else
static uint32_t ulFreeHeapContig=0xFFFFFFF;
Expand Down

0 comments on commit ccf6042

Please sign in to comment.