Add ESP::getSdkVersion
fixes: https://github.com/espressif/arduino-esp32/issues/146
This commit is contained in:
parent
c8140f8288
commit
5f203e1a98
@ -99,7 +99,7 @@ uint32_t EspClass::getFreeHeap(void)
|
||||
|
||||
const char * EspClass::getSdkVersion(void)
|
||||
{
|
||||
return "";//deprecated in IDF
|
||||
return esp_get_idf_version();
|
||||
}
|
||||
|
||||
uint32_t EspClass::getFlashChipSize(void)
|
||||
|
Loading…
Reference in New Issue
Block a user