mirror of
https://github.com/esphome/esphome.git
synced 2026-09-04 03:56:04 +00:00
[debug] Use MALLOC_CAP_EXEC for iram sensor
This commit is contained in:
@@ -302,7 +302,7 @@ void DebugComponent::update_platform_() {
|
||||
this->psram_sensor_->publish_state(heap_caps_get_free_size(MALLOC_CAP_SPIRAM));
|
||||
}
|
||||
if (this->iram_sensor_ != nullptr) {
|
||||
this->iram_sensor_->publish_state(heap_caps_get_free_size(MALLOC_CAP_IRAM_8BIT));
|
||||
this->iram_sensor_->publish_state(heap_caps_get_free_size(MALLOC_CAP_EXEC));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user