From cfa973b08b6e28a028db46570752a7087c9d4ff4 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Sat, 2 Aug 2025 16:07:27 +0200 Subject: [PATCH] fix standalone --- src/core/system.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/system.cpp b/src/core/system.cpp index 4797b2d5e..26896ab98 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -50,7 +50,9 @@ #include +#ifndef EMSESP_STANDALONE #include "esp_efuse.h" +#endif namespace emsesp { @@ -1427,10 +1429,12 @@ bool System::command_service(const char * cmd, const char * value) { } int n; if (!ok && Helpers::value2number(value, n)) { +#ifndef EMSESP_STANDALONE if (!strcmp(cmd, "fuse/mfg")) { // && esp_efuse_read_reg(EFUSE_BLK3, 0) == 0) { ok = esp_efuse_write_reg(EFUSE_BLK3, 0, (uint32_t)n) == ESP_OK; LOG_INFO("fuse programed with value '%X': %s", n, ok ? "successful" : "failed"); } +#endif } if (ok) {