From 2303057419671bd908dcb8d17771a7849553ab7e Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 13 Aug 2022 07:32:11 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15721 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/src/hal_sio.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/os/hal/src/hal_sio.c b/os/hal/src/hal_sio.c index d6bccb68d..091736463 100644 --- a/os/hal/src/hal_sio.c +++ b/os/hal/src/hal_sio.c @@ -328,10 +328,8 @@ void sioStartOperationI(SIODriver *siop, const SIOOperation *operation) { siop->state = SIO_ACTIVE; #if SIO_USE_SYNCHRONIZATION == TRUE - /* If synchronization is enabled then some events are enforced by - default.*/ - sioWriteEnableFlagsI(siop, - SIO_FL_ALL_DATA | SIO_FL_ALL_ERRORS | SIO_FL_ALL_PROTOCOL); + /* If synchronization is enabled then all events.*/ + sioWriteEnableFlagsI(siop, SIO_FL_ALL); #endif } }