mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-23 08:45:22 +03:00
Put InterruptLock (from interrupts.h) into namespace esp8266 to fix now and future (#6225)
collisions with 3rd party Arduino libraries (currently Adafruit DHT has this issue)
This commit is contained in:
committed by
david gauchard
parent
2e3e1d5e98
commit
f5a882d03d
@ -200,7 +200,7 @@ void EspClass::restart(void)
|
||||
|
||||
uint16_t EspClass::getVcc(void)
|
||||
{
|
||||
InterruptLock lock;
|
||||
esp8266::InterruptLock lock;
|
||||
(void)lock;
|
||||
return system_get_vdd33();
|
||||
}
|
||||
|
Reference in New Issue
Block a user