Skip to content
Permalink
Browse files

drivers: clock_control: nrf: Fix lfclk source settings for nrf9160

Aligned lfclk source values for nrf9160.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  • Loading branch information...
nordic-krch authored and galak committed Apr 15, 2019
1 parent a17730d commit 431c450a42f90b784d44f8109b750fcfff12b6c6
Showing with 3 additions and 2 deletions.
  1. +3 −2 include/drivers/clock_control/nrf_clock_control.h
@@ -10,15 +10,16 @@
#if defined(CONFIG_USB) && defined(CONFIG_SOC_NRF52840)
#include <device.h>
#endif
#include <nrf_clock.h>

/* TODO: move all these to clock_control.h ? */

/* Define 32KHz clock source */
#ifdef CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC
#define CLOCK_CONTROL_NRF_K32SRC 0
#define CLOCK_CONTROL_NRF_K32SRC NRF_CLOCK_LFCLK_RC
#endif
#ifdef CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL
#define CLOCK_CONTROL_NRF_K32SRC 1
#define CLOCK_CONTROL_NRF_K32SRC NRF_CLOCK_LFCLK_Xtal
#endif

/* Define 32KHz clock accuracy */

0 comments on commit 431c450

Please sign in to comment.
You can’t perform that action at this time.