These are chat archives for esp8266/Arduino

16th
Jul 2015
tzapu
@tzapu
Jul 16 2015 14:14
hi guys, i m running into an issue with the adc mode

getting expected unqualified-id before string constant

define ADC_MODE(mode) extern "C" int __get_adc_mode() { return (int) (mode); }

                           ^

DeepSleep.ino:13:3: note: in expansion of macro 'ADC_MODE'
Error compiling.

```expected unqualified-id before string constant

define ADC_MODE(mode) extern "C" int __get_adc_mode() { return (int) (mode); }

                           ^

DeepSleep.ino:13:3: note: in expansion of macro 'ADC_MODE'
Error compiling.```

using the staging release
did i miss something? is this not avail in staging yet?
tzapu
@tzapu
Jul 16 2015 14:38
sorry, found solution here esp8266/Arduino#546