✏️ Encoder noise followup

Followup to #23925
This commit is contained in:
Scott Lahteine 2022-03-24 20:29:50 -05:00 committed by Scott Lahteine
parent 21f0945d2c
commit 5ef4fb378e

View File

@ -689,8 +689,8 @@ public:
/** /**
* Some printers may have issues with EMI noise especially using a motherboard with 3.3V logic levels * Some printers may have issues with EMI noise especially using a motherboard with 3.3V logic levels
* it may cause the logical LOW to float into the undefined region and register as a logical HIGH * it may cause the logical LOW to float into the undefined region and register as a logical HIGH
* causing it to errorenously register as if someone clicked the button and in worst case make the printer * causing it to erroneously register as if someone clicked the button and in worst case make the
* unusable in practice. * printer unusable in practice.
*/ */
static bool hw_button_pressed() { static bool hw_button_pressed() {
LOOP_L_N(s, ENCODER_SAMPLES) { LOOP_L_N(s, ENCODER_SAMPLES) {