mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-29 02:07:15 +02:00
Add ESP::getSdkVersion
fixes: https://github.com/espressif/arduino-esp32/issues/146
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user