fix clock

This commit is contained in:
MX 2024-06-06 00:41:57 +03:00
parent 17dbb4105d
commit 305bf7273c
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83

View file

@ -6,8 +6,10 @@
#include "clock_app.h"
static void clock_input_callback(InputEvent* input_event, FuriMessageQueue* event_queue) {
furi_assert(event_queue);
static void clock_input_callback(InputEvent* input_event, void* ctx) {
furi_assert(ctx);
FuriMessageQueue* event_queue = ctx;
PluginEvent event = {.type = EventTypeKey, .input = *input_event};
furi_message_queue_put(event_queue, &event, FuriWaitForever);
}