Add ESP::getSdkVersion

fixes: https://github.com/espressif/arduino-esp32/issues/146
This commit is contained in:
me-no-dev 2017-01-24 11:44:26 +02:00
parent c8140f8288
commit 5f203e1a98

View File

@ -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)