From e2608e006da80db494132e4c0b3dfb15cf9c3cec Mon Sep 17 00:00:00 2001 From: TOKITA Hiroshi Date: Tue, 6 Aug 2024 16:03:33 +0900 Subject: [PATCH] zephyrCommon: Remove unused value The `idx` that is declared in `analogReference()` is not needed. Removing it. Signed-off-by: TOKITA Hiroshi --- cores/arduino/zephyrCommon.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/cores/arduino/zephyrCommon.cpp b/cores/arduino/zephyrCommon.cpp index a2946692..13611ca2 100644 --- a/cores/arduino/zephyrCommon.cpp +++ b/cores/arduino/zephyrCommon.cpp @@ -303,7 +303,6 @@ void analogReference(uint8_t mode) * the mode argument of analogReference(). * Treat the value as equivalent to zephyr's adc_reference. */ - size_t idx; for (size_t i=0; i(mode); }