add stop LF clock in board_init()
just in case we jump from application without reset
This commit is contained in:
parent
3de5afc067
commit
3925ef5872
@ -9547,14 +9547,14 @@
|
||||
:10478000C3F81415C3F820450424C3F82445C3F81E
|
||||
:104790002815C3F82C15C3F86005C3F800259A60E6
|
||||
:1047A00030BD00BF0010024000C001406830002052
|
||||
:1047B0007030002010B54FF0804301210022C3F873
|
||||
:1047C0001825996003F58033D3F8001401B11A60FD
|
||||
:1047D0004FF0A044134BC4F85037C4F85837124B6D
|
||||
:1047E0004FF4C85043F0010398470323C4F84437FB
|
||||
:1047F000C4F84C374FF40033C4F80C354FF40023A1
|
||||
:104800001120C4F80C35FFF79FFF084A1E2108202D
|
||||
:1048100002F0F4FC08B102F0ADFDBDE8104002F07A
|
||||
:1048200057BC00BF0C000300B0950700C03000204B
|
||||
:1047B0007030002010B54FF0804301210022D960F5
|
||||
:1047C000C3F81825996003F58033D3F8001401B1BC
|
||||
:1047D0001A604FF0A044134BC4F85037C4F8583750
|
||||
:1047E000114B4FF4C85043F0010398470323C4F81A
|
||||
:1047F0004437C4F84C374FF40033C4F80C354FF449
|
||||
:1048000000231120C4F80C35FFF79EFF074A1E2134
|
||||
:10481000082002F0F3FC08B102F0ACFDBDE8104046
|
||||
:1048200002F056BC0C000300B0950700C030002019
|
||||
:104830000F4B104A11280CBF1846104600234FF0AA
|
||||
:10484000FF328360C0F80035C0F8602540F2FF32C7
|
||||
:10485000C0F80435C0F80825C0F80C35C0F810358C
|
||||
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -9743,13 +9743,13 @@
|
||||
:104800000424C3F82445C3F82815C3F82C15C3F8AD
|
||||
:104810006005C3F800259A6030BD00BF001002405B
|
||||
:1048200000C00140688000207080002010B54FF06B
|
||||
:10483000804301210022C3F81825996003F58033D5
|
||||
:10484000D3F8001401B11A604FF0A044124BC4F821
|
||||
:104850002C37C4F83037114B4FF4C85043F00103E4
|
||||
:1048600098470323C4F834370D20C4F83837FFF7CE
|
||||
:104870008BFF0E20FFF788FF0D20FFF7A1FF084AEE
|
||||
:104880001E21082002F062FD08B102F01BFEBDE807
|
||||
:10489000104002F0BFBC00BF0C00030030AA0F00A4
|
||||
:10483000804301210022D960C3F81825996003F54F
|
||||
:104840008033D3F8001401B11A604FF0A044124B2A
|
||||
:10485000C4F82C37C4F83037104B4FF4C85043F02D
|
||||
:10486000010398470323C4F834370D20C4F83837C0
|
||||
:10487000FFF78AFF0E20FFF787FF0D20FFF7A0FF4D
|
||||
:10488000074A1E21082002F061FD08B102F01AFE5D
|
||||
:10489000BDE8104002F0BEBC0C00030030AA0F00BF
|
||||
:1048A000808100200F4B104A0D280CBF184610467F
|
||||
:1048B00000234FF0FF328360C0F80035C0F8602558
|
||||
:1048C00040F2FF32C0F80435C0F80825C0F80C35B6
|
||||
@ -11349,7 +11349,7 @@
|
||||
:10AC60004E524635322D426C756566727569742D8B
|
||||
:10AC700076300D0A426F6F746C6F616465723A20B2
|
||||
:10AC80007331343020362E312E302072300D0A448C
|
||||
:10AC90006174653A204F637420333020323031388C
|
||||
:10AC90006174653A204E6F7620203720323031388B
|
||||
:10ACA0000D0A000002000000E9930F0065940F00F8
|
||||
:10ACB0004D950F0031960F00000000003D940F00ED
|
||||
:10ACC00008000000C9970F00E9970F0065980F0072
|
||||
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -61,6 +61,9 @@ uint16_t _pwm_blue_seq[PWM_CHANNEL_NUM] = { PWM_MAXCOUNT/2, 0, 0 , 0 };
|
||||
|
||||
void board_init(void)
|
||||
{
|
||||
// stop LF clock just in case we jump from application without reset
|
||||
NRF_CLOCK->TASKS_LFCLKSTOP = 1UL;
|
||||
|
||||
// Use Internal OSC to compatible with all boards
|
||||
NRF_CLOCK->LFCLKSRC = CLOCK_LFCLKSRC_SRC_RC;
|
||||
NRF_CLOCK->TASKS_LFCLKSTART = 1UL;
|
||||
|
Loading…
Reference in New Issue
Block a user