From 1e2b2222a0b20a9ad66c7d29db8718878276cbed Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sat, 19 Sep 2026 09:18:22 +0100 Subject: [PATCH] Modified code comments --- include/etl/cyclic_value.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/etl/cyclic_value.h b/include/etl/cyclic_value.h index aef514bb..cb8b0c53 100644 --- a/include/etl/cyclic_value.h +++ b/include/etl/cyclic_value.h @@ -116,7 +116,7 @@ namespace etl if (step < range_to_first) { - // Room to add the step. + // Room to subtract the step. value = static_cast(etl::to_unsigned(value) - step); } else @@ -132,7 +132,7 @@ namespace etl if (step < range_to_last) { - // Room to add the step. + // Room to subtract the step. value = static_cast(etl::to_unsigned(value) + step); } else