We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bc1867 commit 2b0862bCopy full SHA for 2b0862b
cores/arduino/zephyrCommon.cpp
@@ -303,7 +303,6 @@ void analogReference(uint8_t mode)
303
* the mode argument of analogReference().
304
* Treat the value as equivalent to zephyr's adc_reference.
305
*/
306
- size_t idx;
307
for (size_t i=0; i<ARRAY_SIZE(channel_cfg); i++) {
308
channel_cfg[i].reference = static_cast<adc_reference>(mode);
309
}
0 commit comments