diff options
| author | Stephane D'Alu <sdalu@sdalu.com> | 2016-02-05 19:03:47 +0100 | 
|---|---|---|
| committer | Stephane D'Alu <sdalu@sdalu.com> | 2016-02-05 19:03:47 +0100 | 
| commit | 80af295f27f0fc5daaaea04cb249d3ad3704d338 (patch) | |
| tree | 7b8ac7f1afc005d36ca8ca0f5c13f247e4c07c4e | |
| parent | ff98f192c2698f40d84d14bb6a538e79323b72ef (diff) | |
| download | ChibiOS-Contrib-80af295f27f0fc5daaaea04cb249d3ad3704d338.tar.gz ChibiOS-Contrib-80af295f27f0fc5daaaea04cb249d3ad3704d338.tar.bz2 ChibiOS-Contrib-80af295f27f0fc5daaaea04cb249d3ad3704d338.zip | |
start by a stop
| -rw-r--r-- | os/hal/ports/NRF51/NRF51822/hal_lld.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/os/hal/ports/NRF51/NRF51822/hal_lld.c b/os/hal/ports/NRF51/NRF51822/hal_lld.c index 3e74068..30fe6c0 100644 --- a/os/hal/ports/NRF51/NRF51822/hal_lld.c +++ b/os/hal/ports/NRF51/NRF51822/hal_lld.c @@ -58,6 +58,7 @@ void hal_lld_init(void)    /* High frequency clock initialisation     *  (If NRF51_XTAL_VALUE is not defined assume its an RC oscillator)     */ +  NRF_CLOCK->TASKS_HFCLKSTOP = 1;  #if defined(NRF51_XTAL_VALUE)  #if   NRF51_XTAL_VALUE == 16000000    NRF_CLOCK->XTALFREQ = 0xFF; @@ -65,7 +66,6 @@ void hal_lld_init(void)    NRF_CLOCK->XTALFREQ = 0x00;  #endif  #endif -  NRF_CLOCK->TASKS_HFCLKSTOP = 1;    /* Low frequency clock initialisation     * If source not specified, use the internal RC (0) which is prefered  | 
