From b109a520c2bb21484834137350e942ebb6085abc Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Sun, 25 Jul 2021 21:00:40 +0300 Subject: [PATCH] buttons: Fix comment --- src/modules/buttons.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/buttons.cpp b/src/modules/buttons.cpp index 5c3b6a1..cd3f855 100644 --- a/src/modules/buttons.cpp +++ b/src/modules/buttons.cpp @@ -10,8 +10,8 @@ Buttons buttons; int8_t Buttons::DecodeADC(uint16_t rawADC) { // decode 3 buttons' levels from one ADC // Button 1 - 0 - // Button 2 - 344 - // Button 3 - 516 + // Button 2 - 90 + // Button 3 - 170 // Doesn't handle multiple pressed buttons at once for (int8_t buttonIndex = 0; buttonIndex < config::buttonCount; ++buttonIndex) {