diff options
| author | guozhanxin <[email protected]> | 2021-03-24 18:02:11 +0800 |
|---|---|---|
| committer | guozhanxin <[email protected]> | 2021-03-24 18:03:19 +0800 |
| commit | eee1453c808074bb18c072032ee7e3feddd1679a (patch) | |
| tree | 5263a047d50638a8a4ba3a17545bed48751dd4e7 /bsp/raspberry-pico/libraries | |
| parent | 50bf4902636eda180d33f12a52bb21a7d603bdf8 (diff) | |
[Fix] the problem of startup failure.
Diffstat (limited to 'bsp/raspberry-pico/libraries')
| -rw-r--r-- | bsp/raspberry-pico/libraries/pico-sdk/src/rp2_common/pico_runtime/runtime.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/bsp/raspberry-pico/libraries/pico-sdk/src/rp2_common/pico_runtime/runtime.c b/bsp/raspberry-pico/libraries/pico-sdk/src/rp2_common/pico_runtime/runtime.c index 98104db73a..af1bdd2b3a 100644 --- a/bsp/raspberry-pico/libraries/pico-sdk/src/rp2_common/pico_runtime/runtime.c +++ b/bsp/raspberry-pico/libraries/pico-sdk/src/rp2_common/pico_runtime/runtime.c @@ -136,20 +136,6 @@ void runtime_init(void) { spin_locks_reset(); irq_init_priorities(); - alarm_pool_init_default(); - - // Start and end points of the constructor list, - // defined by the linker script. - extern void (*__init_array_start)(); - extern void (*__init_array_end)(); - - // Call each function in the list. - // We have to take the address of the symbols, as __init_array_start *is* - // the first function pointer, not the address of it. - for (void (**p)() = &__init_array_start; p < &__init_array_end; ++p) { - (*p)(); - } - } void _exit(int status) { |
