1
0
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:
Dirk O. Kaar
2019-06-25 11:14:45 +02:00
committed by david gauchard
parent 2e3e1d5e98
commit f5a882d03d
5 changed files with 10 additions and 6 deletions

View File

@ -200,7 +200,7 @@ void EspClass::restart(void)
uint16_t EspClass::getVcc(void)
{
InterruptLock lock;
esp8266::InterruptLock lock;
(void)lock;
return system_get_vdd33();
}