Merge remote-tracking branch 'origin/main'

This commit is contained in:
Hosted Weblate 2022-11-19 20:46:22 +01:00
commit 3f357d39f4
No known key found for this signature in database
GPG Key ID: A3FAAA06E6569B4C

View File

@ -49,8 +49,9 @@ static void uart_event_task(void *param) {
while (true) {
if (xQueueReceive(self->event_queue, &event, portMAX_DELAY)) {
switch (event.type) {
case UART_BREAK:
case UART_PATTERN_DET:
// When the console uart receives CTRL+C, wake the main task and schedule a keyboard interrupt
// When the console uart receives CTRL+C or BREAK, wake the main task and schedule a keyboard interrupt
if (self->is_console) {
port_wake_main_task();
if (mp_interrupt_char == CHAR_CTRL_C) {