mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-23 08:45:22 +03:00
add EspClass::getFreeHeap see #81
This commit is contained in:
@ -70,3 +70,10 @@ uint16_t EspClass::getVCC(void)
|
||||
{
|
||||
return system_get_vdd33();
|
||||
}
|
||||
|
||||
uint32_t EspClass::getFreeHeap(void)
|
||||
{
|
||||
return system_get_free_heap_size();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user