Skip to content

Commit 233b92c

Browse files
author
andreas.larsson
committed
Added cbSTATUS_RECEIVE_DATA_MODE + macros
1 parent fba7b7f commit 233b92c

File tree

1 file changed

+4
-1
lines changed
  • targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/sdk/ublox-odin-w2-drivers

1 file changed

+4
-1
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/sdk/ublox-odin-w2-drivers/cb_status.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
*=========================================================================*/
2727

2828
#define OK(status) (status == cbSTATUS_OK)
29-
29+
#define BUSY(status) (status == cbSTATUS_BUSY)
30+
#define ERR(status) (status == cbSTATUS_ERROR)
31+
3032
/*===========================================================================
3133
* TYPES
3234
*=========================================================================*/
@@ -36,6 +38,7 @@
3638
cbSTATUS_OK,
3739
cbSTATUS_ERROR,
3840
cbSTATUS_BUSY,
41+
cbSTATUS_RECEIVE_DATA_MODE,
3942
cbSTATUS_TIMEOUT
4043

4144
} cbRTSL_Status;

0 commit comments

Comments
 (0)