Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions cores/esp8266/core_esp8266_wiring_analog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,16 @@ extern int __analogRead(uint8_t pin)

extern int analogRead(uint8_t pin) __attribute__ ((weak, alias("__analogRead")));


void __analogReference(uint8_t mode)
{
// Only DEFAULT is supported on the ESP8266
if (mode != DEFAULT) {
DEBUGV("analogReference called with illegal mode");
}
}


extern void analogReference(uint8_t mode) __attribute__ ((weak, alias("__analogReference")));

};