[debug] Use MALLOC_CAP_EXEC for iram sensor

This commit is contained in:
J. Nick Koston
2026-04-14 15:53:02 -10:00
parent 07b129a58a
commit 8a00d302b8
+1 -1
View File
@@ -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
}