diff options
author | あく <alleteam@gmail.com> | 2021-02-12 20:24:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 20:24:34 +0300 |
commit | b835d7a4516e271a8c54ccbd144777fb2a122b5a (patch) | |
tree | 701c4f6232d06b04ab7f5aa5b80ae36db983592f /applications/dolphin | |
parent | 7c5de59f53dc5e09fd39d55566140880ac64f60a (diff) |
[FL-872] Furi, API-HAL, App-Loader cleanup and improvements (#334)
* Furi: replace obsolete furiac_exit with osThreadExit, drop obsolete apis and test. Rename systemd to flipper and move to separate file, cleanup. ApiHal: Rename timebase to os and move freertos hooks there, move insomnia api to power module.
* Furi: new thread helper
* Furi: cleanup thread documentation
* Flipper, AppLoader: update to use FuriThread. Update tasks signatures to match FuriThreadCallback signature.
* F4: rename API_HAL_TIMEBASE_DEBUG to API_HAL_OS_DEBUG
* Applications: rename FuriApplication to FlipperApplication, use FuriThreadCallback signature for apps.
* C++ app template sample, new exit method
Diffstat (limited to 'applications/dolphin')
-rw-r--r-- | applications/dolphin/dolphin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/dolphin/dolphin.c b/applications/dolphin/dolphin.c index 9a89f4ed..e3237f04 100644 --- a/applications/dolphin/dolphin.c +++ b/applications/dolphin/dolphin.c @@ -129,7 +129,7 @@ void dolphin_deed(Dolphin* dolphin, DolphinDeed deed) { furi_check(osMessageQueuePut(dolphin->event_queue, &event, 0, osWaitForever) == osOK); } -void dolphin_task() { +int32_t dolphin_task() { Dolphin* dolphin = dolphin_alloc(); Gui* gui = furi_record_open("gui"); @@ -163,4 +163,6 @@ void dolphin_task() { dolphin_state_save(dolphin->state); } } + + return 0; } |