Skip to content

Commit b5e357d

Browse files
author
FasterEdge
committed
fix: data_base 移除 ESP32 API 残留(ESP.getChipCores/getCpuFreqMHz 为 ESP32 专属, 本平台编译失败); uno-r3 EEPROM.begin 偏移越界修复(begin(1024)=偏移 1024=芯片末尾)
1 parent 6c5d7d0 commit b5e357d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arduino/src/data_base.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ CommandOutput baseDataDispatch(void *inst, const char *act, const String &args)
2121
if (strcmp(act, "info") == 0) {
2222
return CommandOutput{String(act),
2323
String("{\"name\":\"BaseData\",\"firmware\":\"FasterEdge-MCU 1.0.20260831\","
24-
"\"chip\":\"ESP32\",\"sdk\":\"Arduino\",\"cores\":" + String(ESP.getChipCores()) +
25-
",\"freq\":" + String(ESP.getCpuFreqMHz()) + "}"), String()};
24+
"\"chip\":\"Renesas RA4M1\",\"sdk\":\"Arduino\",\"cores\":1,"
25+
"\"freq\":48}"), String()};
2626
}
2727
return CommandOutput{String(act), String(), String("unsupported command: ") + act};
2828
}

0 commit comments

Comments
 (0)