minor cosmetic change to the previous commit.

This commit is contained in:
Rohit Grover 2015-08-05 12:47:41 +01:00
parent 27cd45a37c
commit 692d7e08e8

View file

@ -52,10 +52,11 @@ static void sys_evt_dispatch(uint32_t sys_evt)
error_t btle_init(void)
{
if (NRF_CLOCK->LFCLKSRC & (CLOCK_LFCLKSRC_SRC_Xtal << CLOCK_LFCLKSRC_SRC_Pos))
if (NRF_CLOCK->LFCLKSRC & (CLOCK_LFCLKSRC_SRC_Xtal << CLOCK_LFCLKSRC_SRC_Pos)) {
SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL);
else
} else {
SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, NULL);
}
// Enable BLE stack
/**