Fix "continuous" typo (#21701)
This commit is contained in:
parent
0d0ec3ec89
commit
62ec696cae
|
@ -2842,7 +2842,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable M122 debugging command for TMC stepper drivers.
|
* Enable M122 debugging command for TMC stepper drivers.
|
||||||
* M122 S0/1 will enable continous reporting.
|
* M122 S0/1 will enable continuous reporting.
|
||||||
*/
|
*/
|
||||||
//#define TMC_DEBUG
|
//#define TMC_DEBUG
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@ static inline __always_inline void my_usart_irq(ring_buffer *rb, ring_buffer *wb
|
||||||
}
|
}
|
||||||
else if (srflags & USART_SR_ORE) {
|
else if (srflags & USART_SR_ORE) {
|
||||||
// overrun and empty data, just do a dummy read to clear ORE
|
// overrun and empty data, just do a dummy read to clear ORE
|
||||||
// and prevent a raise condition where a continous interrupt stream (due to ORE set) occurs
|
// and prevent a raise condition where a continuous interrupt stream (due to ORE set) occurs
|
||||||
// (see chapter "Overrun error" ) in STM32 reference manual
|
// (see chapter "Overrun error" ) in STM32 reference manual
|
||||||
regs->DR;
|
regs->DR;
|
||||||
}
|
}
|
||||||
|
|
|
@ -855,7 +855,7 @@ void MarlinUI::update() {
|
||||||
static bool wait_for_unclick; // = false
|
static bool wait_for_unclick; // = false
|
||||||
|
|
||||||
auto do_click = [&]{
|
auto do_click = [&]{
|
||||||
wait_for_unclick = true; // - Set debounce flag to ignore continous clicks
|
wait_for_unclick = true; // - Set debounce flag to ignore continuous clicks
|
||||||
lcd_clicked = !wait_for_user; // - Keep the click if not waiting for a user-click
|
lcd_clicked = !wait_for_user; // - Keep the click if not waiting for a user-click
|
||||||
wait_for_user = false; // - Any click clears wait for user
|
wait_for_user = false; // - Any click clears wait for user
|
||||||
quick_feedback(); // - Always make a click sound
|
quick_feedback(); // - Always make a click sound
|
||||||
|
|
Loading…
Reference in a new issue