Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: platform/mbed_critical.c
- Revision:
- 188:bcfe06ba3d64
- Parent:
- 187:0387e8f68319
- Child:
- 189:f392fc9709a3
--- a/platform/mbed_critical.c Thu Sep 06 13:40:20 2018 +0100 +++ b/platform/mbed_critical.c Thu Nov 08 11:46:34 2018 +0000 @@ -77,13 +77,8 @@ void core_util_critical_section_enter(void) { -// FIXME -#ifdef FEATURE_UVISOR -#warning "core_util_critical_section_enter needs fixing to work from unprivileged code" -#else // If the reentrancy counter overflows something has gone badly wrong. MBED_ASSERT(critical_section_reentrancy_counter < UINT32_MAX); -#endif /* FEATURE_UVISOR */ hal_critical_section_enter(); @@ -92,10 +87,6 @@ void core_util_critical_section_exit(void) { -// FIXME -#ifdef FEATURE_UVISOR -#warning "core_util_critical_section_exit needs fixing to work from unprivileged code" -#endif /* FEATURE_UVISOR */ // If critical_section_enter has not previously been called, do nothing if (critical_section_reentrancy_counter == 0) {