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:
11
tests/test_overrides/test_overrides.ino
Normal file
11
tests/test_overrides/test_overrides.ino
Normal file
@ -0,0 +1,11 @@
|
||||
ADC_MODE(ADC_VCC);
|
||||
RF_MODE(RF_DISABLED);
|
||||
RF_PRE_INIT()
|
||||
{
|
||||
}
|
||||
|
||||
void setup() {
|
||||
}
|
||||
|
||||
void loop() {
|
||||
}
|
Reference in New Issue
Block a user