Added cbSTATUS_RECEIVE_DATA_MODE + macros

pull/4356/head
andreas.larsson 2017-05-17 23:11:50 +02:00 committed by adbridge
parent 9fa4008fe3
commit f996c1b5d0
1 changed files with 4 additions and 1 deletions

View File

@ -26,6 +26,8 @@
*=========================================================================*/ *=========================================================================*/
#define OK(status) (status == cbSTATUS_OK) #define OK(status) (status == cbSTATUS_OK)
#define BUSY(status) (status == cbSTATUS_BUSY)
#define ERR(status) (status == cbSTATUS_ERROR)
/*=========================================================================== /*===========================================================================
* TYPES * TYPES
@ -36,6 +38,7 @@
cbSTATUS_OK, cbSTATUS_OK,
cbSTATUS_ERROR, cbSTATUS_ERROR,
cbSTATUS_BUSY, cbSTATUS_BUSY,
cbSTATUS_RECEIVE_DATA_MODE,
cbSTATUS_TIMEOUT cbSTATUS_TIMEOUT
} cbRTSL_Status; } cbRTSL_Status;