mbed
Fork of mbed-dev by
Diff: drivers/InterruptManager.cpp
- Revision:
- 181:96ed750bd169
- Parent:
- 160:d5399cc887bb
--- a/drivers/InterruptManager.cpp Thu Dec 07 14:01:42 2017 +0000 +++ b/drivers/InterruptManager.cpp Wed Jan 17 15:23:54 2018 +0000 @@ -16,6 +16,12 @@ #include "cmsis.h" #if defined(NVIC_NUM_VECTORS) +// Suppress deprecation warnings since this whole +// class is deprecated already +#include "mbed_toolchain.h" +#undef MBED_DEPRECATED_SINCE +#define MBED_DEPRECATED_SINCE(...) + #include "drivers/InterruptManager.h" #include "platform/mbed_critical.h" #include <string.h>