mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
tests/host: fixes and updates (#5537)
(LEAmDNS, broken pipe, non blocking accepted sockets, digitalRead)
This commit is contained in:
@ -69,3 +69,9 @@ void analogWriteRange(uint32_t range)
|
||||
{
|
||||
fprintf(stderr, MOCK "analogWriteRange(range=%d)\n", range);
|
||||
}
|
||||
|
||||
int digitalRead(uint8_t pin)
|
||||
{
|
||||
fprintf(stderr, MOCK "digitalRead(%d)\n", pin);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user