nuttx/drivers/contactless
Xiang Xiao 6a3c2aded6 Fix wait loop and void cast (#24)
* Simplify EINTR/ECANCEL error handling

1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx

* Unify the void cast usage

1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
..
Kconfig Kconfig, include/debug.h, and drivers/contactless: Add debug macros for contactless. The various contactless device drivers currently define device specific debug macros within their local header files. This patch adds generic ctls[info|warn|err] macros for the overall contactless subsystem to be used in future drivers. Ported the two currently available contactless device drivers (mfrc522.c and pn532.c) to these generic logging macros and fixed some logging bugs 2019-08-19 11:27:23 -06:00
Make.defs CL fixes 2016-08-31 13:41:49 +02:00
mfrc522.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
mfrc522.h drivers/: Remove dangling space at the end of lines. 2017-06-28 13:17:17 -06:00
pn532.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pn532.h packed_struct replaced by begin_packed_struct and end_packed_struct 2017-01-09 14:17:49 +03:00