diff --git a/src/core/system.cpp b/src/core/system.cpp
index 1f6f95797..1dcc9465a 100644
--- a/src/core/system.cpp
+++ b/src/core/system.cpp
@@ -16,186 +16,299 @@
* along with this program. If not, see .
*/
-#include "system.h"
-#include "emsesp.h" // for send_raw_telegram() command
-
-#ifndef EMSESP_STANDALONE
-#include "esp_image_format.h"
-#include "esp_ota_ops.h"
-#include "esp_partition.h"
-#include
-#include "esp_efuse.h"
-#include
-#include
-#endif
-
-#include
-#include