buttons: Fix comment

pull/71/head
Alex Voinea 2021-07-25 21:00:40 +03:00 committed by DRracer
parent 777c830ac0
commit b109a520c2
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ Buttons buttons;
int8_t Buttons::DecodeADC(uint16_t rawADC) { int8_t Buttons::DecodeADC(uint16_t rawADC) {
// decode 3 buttons' levels from one ADC // decode 3 buttons' levels from one ADC
// Button 1 - 0 // Button 1 - 0
// Button 2 - 344 // Button 2 - 90
// Button 3 - 516 // Button 3 - 170
// Doesn't handle multiple pressed buttons at once // Doesn't handle multiple pressed buttons at once
for (int8_t buttonIndex = 0; buttonIndex < config::buttonCount; ++buttonIndex) { for (int8_t buttonIndex = 0; buttonIndex < config::buttonCount; ++buttonIndex) {