CMSIS: Move non-config includes behind PTIM ifdef

That is to enabled integration with build-it-all Mbed OS type build
system.

Cherry-picked from CMSIS_5 repo: e8d0a476
pull/6273/head
Bartek Szatkowski 2018-03-01 18:35:00 +00:00
parent 00a321846d
commit b4d5f0e10f
1 changed files with 4 additions and 4 deletions

View File

@ -22,14 +22,14 @@
* limitations under the License.
*/
#include "os_tick.h"
#include "irq_ctrl.h"
#include "RTE_Components.h"
#include CMSIS_device_header
#if defined(PTIM)
#include "os_tick.h"
#include "irq_ctrl.h"
#ifndef PTIM_IRQ_PRIORITY
#define PTIM_IRQ_PRIORITY 0xFFU
#endif