From 82790952870b13e71c754de976d72e383b10ab1e Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Thu, 7 Jul 2022 00:57:15 +0200 Subject: [PATCH] Revert "Enable serial autoflush" This reverts commit 74d9e51b3d54205faec17a905132fef4116327af, because it caused a whole lot of issues, including leading up to complete lockups under certain common scenarios. The revert fixes keyboardio/Chrysalis#985. Signed-off-by: Gergely Nagy --- cores/arduino/CDCACM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/arduino/CDCACM.cpp b/cores/arduino/CDCACM.cpp index 7857b669..57e2c7bf 100644 --- a/cores/arduino/CDCACM.cpp +++ b/cores/arduino/CDCACM.cpp @@ -76,7 +76,7 @@ bool CDCACM_::setup(arduino::USBSetup& setup) } else if (setup.bRequest == CDC_SET_CONTROL_LINE_STATE) { this->lineState = setup.wValueL; if (this->lineState > 0) { - usbd_int_fops = &usb_inthandler; + // usbd_int_fops = &usb_inthandler; } else { usbd_int_fops = nullptr; }