diff --git a/clock/.catalog/changelog.md b/clock/.catalog/changelog.md new file mode 100644 index 00000000..1da76dc7 --- /dev/null +++ b/clock/.catalog/changelog.md @@ -0,0 +1,6 @@ +## 1.2 + - Update API v65.0 +## 1.1 + - Update to latest datetime API +## 1.0 + - Initial release diff --git a/clock/application.fam b/clock/application.fam index 13e9f0fe..e4bb9cf5 100644 --- a/clock/application.fam +++ b/clock/application.fam @@ -6,7 +6,7 @@ App( entry_point="clock_app", requires=["gui"], stack_size=2 * 1024, - fap_version="1.1", + fap_version="1.2", fap_description="Simple clock app", fap_icon="clock.png", fap_category="Tools", diff --git a/clock/clock_app.c b/clock/clock_app.c index e36243da..6b445d76 100644 --- a/clock/clock_app.c +++ b/clock/clock_app.c @@ -28,10 +28,10 @@ typedef struct { ClockData* data; } Clock; -static void clock_input_callback(InputEvent* input_event, FuriMessageQueue* queue) { +static void clock_input_callback(InputEvent* input_event, void* queue) { furi_assert(queue); ClockEvent event = {.type = ClockEventTypeKey, .input = *input_event}; - furi_message_queue_put(queue, &event, FuriWaitForever); + furi_message_queue_put((FuriMessageQueue*)queue, &event, FuriWaitForever); } static void clock_render_callback(Canvas* canvas, void* ctx) {