kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'feature/add_get_idf_version_api' into 'master'
Add get idf version API This is same as IDF_VER. See merge request !435pull/264/head
commit
0bbc60618b
|
@ -124,7 +124,12 @@ esp_err_t system_efuse_read_mac(uint8_t mac[6]) __attribute__ ((deprecated));
|
|||
*/
|
||||
const char* system_get_sdk_version(void) __attribute__ ((deprecated));
|
||||
|
||||
|
||||
/**
|
||||
* Get IDF version
|
||||
*
|
||||
* @return constant string from IDF_VER
|
||||
*/
|
||||
const char* esp_get_idf_version(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -179,4 +179,8 @@ const char* system_get_sdk_version(void)
|
|||
return "master";
|
||||
}
|
||||
|
||||
const char* esp_get_idf_version(void)
|
||||
{
|
||||
return IDF_VER;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue