Maxim mbed development library

Dependents:   MAX34417_demo MAXREFDES1265 MAXREFDES1265

Fork of mbed-dev by mbed official

Revision:
152:9a67f0b066fc
Parent:
150:02e0a0aed4ec
--- a/cmsis/core_cm0plus.h	Thu Nov 24 17:03:03 2016 +0000
+++ b/cmsis/core_cm0plus.h	Thu Dec 15 11:48:27 2016 +0000
@@ -703,6 +703,8 @@
 __STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn)
 {
   NVIC->ICER[0] = (uint32_t)(1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL));
+  __DSB();
+  __ISB();
 }