diff options
| author | hathach <[email protected]> | 2018-03-29 13:31:56 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-29 13:31:56 +0700 |
| commit | 89d5ecebf4011fbbd7206ecd9df3b517d44347bc (patch) | |
| tree | 2f597dd8e3fc35fccc7c29729f324be43f48a541 /tinyusb/osal/osal_none.h | |
| parent | d63d5d616074cc0ebf03dd0c6384f9b3d915547a (diff) | |
rename VERIFY_STATUS to VERIFY_ERR
Diffstat (limited to 'tinyusb/osal/osal_none.h')
| -rw-r--r-- | tinyusb/osal/osal_none.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/osal/osal_none.h b/tinyusb/osal/osal_none.h index 414352df1..f150d5c34 100644 --- a/tinyusb/osal/osal_none.h +++ b/tinyusb/osal/osal_none.h @@ -125,8 +125,8 @@ static inline osal_task_t osal_task_create(osal_func_t code, const char* name, u //------------- Sub Task Assert -------------//
#define STASK_RETURN(error) do { TASK_RESTART; return error; } while(0)
-#define STASK_ASSERT_ERR(_err) VERIFY_STATUS_HDLR(_err, TASK_RESTART)
-#define STASK_ASSERT_ERR_HDLR(_err, _func) VERIFY_STATUS_HDLR(_err, _func; TASK_RESTART )
+#define STASK_ASSERT_ERR(_err) VERIFY_ERR_HDLR(_err, TASK_RESTART)
+#define STASK_ASSERT_ERR_HDLR(_err, _func) VERIFY_ERR_HDLR(_err, _func; TASK_RESTART )
#define STASK_ASSERT(_cond) VERIFY_HDLR(_cond, TASK_RESTART)
#define STASK_ASSERT_HDLR(_cond, _func) VERIFY_HDLR(_cond, _func; TASK_RESTART)
|
