You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2022/12/23 11:59:43 UTC

[mynewt-core] branch master updated: hw/mcu/nrf5340: Fix build with 6pf lfxo trim

This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 815c0a5b8 hw/mcu/nrf5340: Fix build with 6pf lfxo trim
815c0a5b8 is described below

commit 815c0a5b89dcd141ac1dfa99246846605983e612
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Fri Dec 23 11:39:24 2022 +0100

    hw/mcu/nrf5340: Fix build with 6pf lfxo trim
---
 hw/mcu/nordic/nrf5340/src/hal_system.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/mcu/nordic/nrf5340/src/hal_system.c b/hw/mcu/nordic/nrf5340/src/hal_system.c
index 7de814b96..d30743ce9 100644
--- a/hw/mcu/nordic/nrf5340/src/hal_system.c
+++ b/hw/mcu/nordic/nrf5340/src/hal_system.c
@@ -92,7 +92,7 @@ hal_system_clock_start(void)
 #if MYNEWT_VAL_CHOICE(MCU_LFCLK_XO_INTCAP, external)
     NRF_OSCILLATORS->XOSC32KI.INTCAP = OSCILLATORS_XOSC32KI_INTCAP_INTCAP_External;
 #elif MYNEWT_VAL_CHOICE(MCU_LFCLK_XO_INTCAP, c6pf)
-    NRF_OSCILLATORS->XOSC32KI.INTCAP = OSCILLATORS_XOSC32KI_INTCAP_INTCAP_C6PF
+    NRF_OSCILLATORS->XOSC32KI.INTCAP = OSCILLATORS_XOSC32KI_INTCAP_INTCAP_C6PF;
 #elif MYNEWT_VAL_CHOICE(MCU_LFCLK_XO_INTCAP, c7pf)
     NRF_OSCILLATORS->XOSC32KI.INTCAP = OSCILLATORS_XOSC32KI_INTCAP_INTCAP_C7PF;
 #elif MYNEWT_VAL_CHOICE(MCU_LFCLK_XO_INTCAP, c9pf)