Closed pletch closed 3 years ago
These changes modify the load_tilt_from_advert_hex function to eliminate use of NimBLEUtils::buildHexData.
As an alternative, the advert_hex_string is directly iterated to place the color,temperature, and sp gravity data into char arrays.
These changes appear to reduce heap thrashing when monitored via debugging output from esp_get_free_heap_size().
These changes modify the load_tilt_from_advert_hex function to eliminate use of NimBLEUtils::buildHexData.
As an alternative, the advert_hex_string is directly iterated to place the color,temperature, and sp gravity data into char arrays.
These changes appear to reduce heap thrashing when monitored via debugging output from esp_get_free_heap_size().