summaryrefslogtreecommitdiff
path: root/src/libs/mynewt-nimble/porting
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/mynewt-nimble/porting')
-rw-r--r--src/libs/mynewt-nimble/porting/npl/freertos/include/nimble/nimble_npl_os.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/mynewt-nimble/porting/npl/freertos/include/nimble/nimble_npl_os.h b/src/libs/mynewt-nimble/porting/npl/freertos/include/nimble/nimble_npl_os.h
index f04145d3..d8810f35 100644
--- a/src/libs/mynewt-nimble/porting/npl/freertos/include/nimble/nimble_npl_os.h
+++ b/src/libs/mynewt-nimble/porting/npl/freertos/include/nimble/nimble_npl_os.h
@@ -282,8 +282,8 @@ static inline uint32_t
ble_npl_hw_enter_critical(void)
{
//vPortEnterCritical();
- npl_freertos_hw_enter_critical();
- return 0;
+
+ return npl_freertos_hw_enter_critical();
}
static inline void