Skip to content

Commit

Permalink
Clock: update api v.65.0 (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skorpionm authored Jun 14, 2024
1 parent 7cf4e34 commit ace2264
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions clock/.catalog/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## 1.2
- Update API v65.0
## 1.1
- Update to latest datetime API
## 1.0
- Initial release
2 changes: 1 addition & 1 deletion clock/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions clock/clock_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ace2264

Please sign in to comment.