From c7f1608ec5c31c77ee731697c01fab5dc3b118eb Mon Sep 17 00:00:00 2001 From: Alexey Kosilin Date: Fri, 18 Feb 2022 10:06:22 +0300 Subject: [PATCH] Fixes unstable trailing edge of stopbit pulse while using software UPDI I/O --- updi_io_soft.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/updi_io_soft.cpp b/updi_io_soft.cpp index 071129d..4b29da2 100644 --- a/updi_io_soft.cpp +++ b/updi_io_soft.cpp @@ -212,6 +212,7 @@ uint8_t UPDI_io::put(char c) { // stop bits " delay %[txdelay] \n\t" " sbi %[uart_port], %[uart_pin] \n\t" // send bit out to serial link + " delay %[txdelay] \n\t" : : [uart_port] "i" (_SFR_IO_ADDR(PORT(UPDI_PORT))), -- libgit2 1.1.0