From b68efdf0039c977110d32304c53b08372dc8dde3 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 18 Sep 2022 09:48:47 +0000 Subject: [PATCH] Fixed bug #1236. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15789 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/include/hal_serial.h | 6 +++--- readme.txt | 12 +++++++----- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/os/hal/include/hal_serial.h b/os/hal/include/hal_serial.h index 22e86fb70..76352838f 100644 --- a/os/hal/include/hal_serial.h +++ b/os/hal/include/hal_serial.h @@ -195,7 +195,7 @@ struct hal_serial_driver { #define sdGetTimeout(sdp, t) iqGetTimeout(&(sdp)->iqueue, t) /** - * @brief Direct blocking write to a @p SerialDriver. + * @brief Direct non-blocking write to a @p SerialDriver. * @note This function bypasses the indirect access to the channel and * writes directly to the output queue. This is faster but cannot * be used to write from different channels implementations. @@ -238,14 +238,14 @@ struct hal_serial_driver { oqWriteTimeout(&(sdp)->oqueue, b, n, TIME_IMMEDIATE) /** - * @brief Direct blocking read from a @p SerialDriver. + * @brief Direct non-blocking read from a @p SerialDriver. * @note This function bypasses the indirect access to the channel and * reads directly from the input queue. This is faster but cannot * be used to read from different channels implementations. * * @iclass */ -#define sdReadI(sdp, b, n) iqReadI(&(sdp)->iqueue, b, n, TIME_INFINITE) +#define sdReadI(sdp, b, n) iqReadI(&(sdp)->iqueue, b, n) /** * @brief Direct blocking read from a @p SerialDriver. diff --git a/readme.txt b/readme.txt index d72a8ce96..6b85b5654 100644 --- a/readme.txt +++ b/readme.txt @@ -124,11 +124,13 @@ - NEW: Increased stacks size in RT test suite from 128 to 192. added an option to override the stack size by defining THREADS_STACK_SIZE in the makefile. -- FIX: Virtual timers lockup uder rare conditions (bug #1235) - (backported to 20.3.5)(backported to 21.11.2). -- FIX: STM32 RTCv2 locks for a second (bug #1234) - (backported to 20.3.5)(backported to 21.11.2). -- FIX: CAN support broken on STM32F413 (bug #1232)(***********TODO*********** backported to 21.11.3). +- FIX: Fixed old bugs in serial driver header (bug #1236) + (backported to 20.3.5)(backported to 21.11.3). +- FIX: Fixed virtual timers lockup uder rare conditions (bug #1235) + (backported to 20.3.5)(backported to 21.11.3). +- FIX: Fixed STM32 RTCv2 locks for a second (bug #1234) + (backported to 20.3.5)(backported to 21.11.3). +- FIX: Fixed CAN support broken on STM32F413 (bug #1232)(***********TODO*********** backported to 21.11.3). - FIX: Re-opened and fixed bug #1100 (backported to 20.3.5)(backported to 21.11.2). - FIX: Fixed wrong buffers toggling in STM32 USBv1 isochronous mode (bug #1232)