blob: 0e74389ec1cbc26e52133e65a9e57a73e5ee986f [file] [log] [blame]
1. For UART drivers in blocking mode, the readCancel() and writeCancel()
post the UART object's readSem and writeSem. In FreeRTOS, there doesn't
seem to be a way to know if we're in ISR context or not. In ISR context,
SemOSAL_postFromISR() must be used instead of SemOSAL_post().
So we'll assume writeCancel() and readCancel() are not being called from
ISR context and use SemOSAL_post().