ext: hal: nordic: Fix nrf_clock external clock source control

Support for external LF clock source for nrf52811 was missing.
This is a temporary fix until it is replaced with new version of
nrfx which will contain the fix.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2019-07-02 09:17:57 +02:00 committed by Ioannis Glaropoulos
commit c2100c9dd4

View file

@ -48,9 +48,8 @@ extern "C" {
* (HFCLK) settings. * (HFCLK) settings.
*/ */
#if defined(NRF52810_XXAA) || \ #if defined(CLOCK_LFCLKSRC_BYPASS_Enabled) && \
defined(NRF52832_XXAA) || defined(NRF52832_XXAB) || \ defined(CLOCK_LFCLKSRC_EXTERNAL_Enabled)
defined(NRF52840_XXAA)
// Enable support for external LFCLK sources. Read more in the Product Specification. // Enable support for external LFCLK sources. Read more in the Product Specification.
#define NRF_CLOCK_USE_EXTERNAL_LFCLK_SOURCES #define NRF_CLOCK_USE_EXTERNAL_LFCLK_SOURCES
#endif #endif