Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FurEventLoop: add support for FuriEventFlag, simplify API #3958

Merged
merged 25 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
936c2e0
Core: event_flag, removing duplicate code
Skorpionm Oct 17, 2024
ca9035a
event_loop: add support furi_event_flags
Skorpionm Oct 17, 2024
5e68a45
Examples: add missing free in event loop examples
skotopes Oct 17, 2024
4c6c059
Furi: fix event flag
skotopes Oct 17, 2024
2283dd0
Sync api symbols
skotopes Oct 17, 2024
7eadaff
Unit_test: evet_loop_event_flags
Skorpionm Oct 18, 2024
73acd52
Fix multiple waiting list elements handling
gsurkov Oct 18, 2024
77332e1
Unit_test: add event_loop_event_flag test
Skorpionm Oct 19, 2024
f400958
FURI: event_loop add restrictions
Skorpionm Oct 19, 2024
5ecc884
Merge remote-tracking branch 'origin/dev' into skorp/event_loop_event…
gsurkov Oct 20, 2024
e1c341d
Fix multiple waiting lists items for good
gsurkov Oct 20, 2024
1211463
Merge branch 'dev' into skorp/event_loop_event_flag
gsurkov Oct 20, 2024
1995435
Improve FuriEventLoop unit tests
gsurkov Oct 21, 2024
1dbd84a
Abolish callback return value
gsurkov Oct 21, 2024
5b386c9
Remove return value from callback signature
gsurkov Oct 21, 2024
7ea0a6d
Use bool level value instead of int32_t
gsurkov Oct 21, 2024
1488bda
Add unit tests for FuriStreamBuffer
gsurkov Oct 21, 2024
8a4c675
Add unit tests for FuriSemaphore
gsurkov Oct 21, 2024
84b8e4c
Speed up test execution
gsurkov Oct 21, 2024
4ecfde9
Improve docs
gsurkov Oct 22, 2024
e4229aa
Add a stub for furi os-level primitives
gsurkov Oct 22, 2024
3e411ce
Add more checks for edge cases
gsurkov Oct 22, 2024
3ddf21e
Allow event loop notification from ISR
gsurkov Oct 24, 2024
93bb876
Merge branch 'dev' into skorp/event_loop_event_flag
skotopes Oct 31, 2024
98516df
Bump api version
skotopes Oct 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static void view_port_input_callback(InputEvent* input_event, void* context) {
furi_message_queue_put(app->input_queue, input_event, 0);
}

static bool input_queue_callback(FuriEventLoopObject* object, void* context) {
static void input_queue_callback(FuriEventLoopObject* object, void* context) {
FuriMessageQueue* queue = object;
EventLoopBlinkTestApp* app = context;

Expand All @@ -107,8 +107,6 @@ static bool input_queue_callback(FuriEventLoopObject* object, void* context) {
furi_event_loop_stop(app->event_loop);
}
}

return true;
}

static void blink_timer_callback(void* context) {
Expand Down
205 changes: 0 additions & 205 deletions applications/debug/unit_tests/tests/furi/furi_event_loop.c

This file was deleted.

Loading
Loading