提交 e77ec634 编写于 作者: M me-no-dev

Fix deprecation warnings in ESP.cpp

上级 49f35ff0
......@@ -89,17 +89,17 @@ uint32_t EspClass::getCycleCount()
void EspClass::restart(void)
{
system_restart();
esp_restart();
}
uint32_t EspClass::getFreeHeap(void)
{
return system_get_free_heap_size();
return esp_get_free_heap_size();
}
const char * EspClass::getSdkVersion(void)
{
return system_get_sdk_version();
return "";//deprecated in IDF
}
uint32_t EspClass::getFlashChipSize(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册