ARM_CM3DS_MPS2: add protection to lp_ticker.c.

Compile this file only when DEVICE_LOWPOWERTIMER is defined.
pull/7009/head
Przemyslaw Stekiel 2018-03-28 11:57:01 +02:00 committed by Bartek Szatkowski
parent f226ae2fc9
commit 1df54efc61
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#include "lp_ticker_api.h"
#include "platform_devices.h"
#if DEVICE_LOWPOWERTIMER
/**
* \brief Calculate clocks to us
*
@ -111,3 +112,5 @@ void TIMER1_IRQHandler(void)
{
cmsdk_ticker_irq_handler(&timer_data);
}
#endif