Code style fixes requested by @0xc0170

Tests still passing
pull/7009/head
Steven Cooreman 2018-03-27 15:11:20 +02:00 committed by Bartek Szatkowski
parent 4b3bde1082
commit 81e6c96014
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,7 @@
******************************************************************************/
#include "device.h"
#if DEVICE_RTC || DEVICE_LPTIMER
#if DEVICE_RTC || DEVICE_LOWPOWERTIMER
/* Use RTCC on devices that have it */
#if defined(RTCC_PRESENT)
@ -111,7 +111,9 @@ void lp_ticker_init()
{
if (!lptick_inited) {
rtc_init();
core_util_critical_section_enter();
lptick_offset = RTCC_CounterGet();
core_util_critical_section_exit();
RTCC_CCChConf_TypeDef lp_chan_init = RTCC_CH_INIT_COMPARE_DEFAULT;
lp_chan_init.compBase = rtccCompBasePreCnt;
lp_chan_init.compMask = 0;