diff options
| author | JF <jf@codingfield.com> | 2020-05-02 17:48:59 +0200 |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2020-05-02 17:48:59 +0200 |
| commit | 66caada0d2da7731a0d08b0dadcf3ae05d2d41e5 (patch) | |
| tree | dbaaaf34d4ac8a52c2fbc8a621d56f2743698f2a /src/main.cpp | |
| parent | 40e3ac61bd4256645ed40273f2762caea9e85b97 (diff) | |
| parent | ed168716b5055d3efec9b30b1b1a3c7ef6c5b17d (diff) | |
Merge branch 'nimble' into nimble-ota
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 7c5eaf7c..e0e9b65e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -184,8 +184,11 @@ void nimble_port_init(void) { ble_hs_init(); ble_store_ram_init(); - hal_timer_init(5, NULL); - os_cputime_init(32768); + int res; + res = hal_timer_init(5, NULL); + ASSERT(res == 0); + res = os_cputime_init(32768); + ASSERT(res == 0); ble_ll_init(); ble_hci_ram_init(); nimble_port_freertos_init(BleHost); |
