buttons: Fix comment
parent
777c830ac0
commit
b109a520c2
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue