This is an automated email from the ASF dual-hosted git repository. lupyuen pushed a commit to branch releases/13.0 in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 2ab4cfe14c6b4caf6a8c8f03d7db4b0bf734c1b9 Author: Sammy Tran <[email protected]> AuthorDate: Fri May 29 10:01:15 2026 -0400 arch/arm/src/stm32h5/stm32_adc: Reset channel counter before conversions Signed-off-by: Sammy Tran <[email protected]> Co-Authored-By: Claude Sonnet 4.6 <[email protected]> AI-Model: claude-sonnet-4.6 --- arch/arm/src/stm32h5/stm32_adc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/src/stm32h5/stm32_adc.c b/arch/arm/src/stm32h5/stm32_adc.c index 75bb194c5da..a503d233a94 100644 --- a/arch/arm/src/stm32h5/stm32_adc.c +++ b/arch/arm/src/stm32h5/stm32_adc.c @@ -1782,6 +1782,7 @@ static int adc_ioctl(struct adc_dev_s *dev, int cmd, unsigned long arg) { case ANIOC_TRIGGER: { + priv->current = 0; adc_startconv(priv, true); } break;
