Skip to content

Commit 0ea1a51

Browse files
authored
Merge branch 'next' into variant_h
2 parents 98f3cdc + 2b0862b commit 0ea1a51

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cores/arduino/zephyrCommon.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ void analogReference(uint8_t mode)
303303
* the mode argument of analogReference().
304304
* Treat the value as equivalent to zephyr's adc_reference.
305305
*/
306-
size_t idx;
307306
for (size_t i=0; i<ARRAY_SIZE(channel_cfg); i++) {
308307
channel_cfg[i].reference = static_cast<adc_reference>(mode);
309308
}

0 commit comments

Comments
 (0)