1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-29 05:21:37 +03:00

Declare __get_adc_mode and __get_rf_mode with C++ linkage

Workaround for #1759. Using extern "C" qualifiers in sketch breaks compilation in Arduino IDE 1.6.8.
This commit is contained in:
Ivan Grokhotkov
2016-03-13 22:11:19 +03:00
parent 9d4208ef3b
commit 730764075e
3 changed files with 22 additions and 2 deletions

View File

@ -0,0 +1,11 @@
ADC_MODE(ADC_VCC);
RF_MODE(RF_DISABLED);
RF_PRE_INIT()
{
}
void setup() {
}
void loop() {
}