Przeglądaj źródła

mfkey: update api v.65.0 (#218)

Skorpionm 1 rok temu
rodzic
commit
511a009b2e
3 zmienionych plików z 5 dodań i 3 usunięć
  1. 2 0
      .catalog/changelog.md
  2. 1 1
      application.fam
  3. 2 2
      mfkey.c

+ 2 - 0
.catalog/changelog.md

@@ -1,3 +1,5 @@
+## 2.3
+ - Update API v65.0
 ## 2.0
  - Added Nested key recovery, use new KeysDict API, fix crashes, more efficient RAM utilization, faster
 ## 1.1

+ 1 - 1
application.fam

@@ -15,7 +15,7 @@ App(
     fap_icon_assets="images",
     fap_weburl="https://github.com/noproto/FlipperMfkey",
     fap_description="MIFARE Classic key recovery tool",
-    fap_version="2.2",
+    fap_version="2.3",
 )
 
 App(

+ 2 - 2
mfkey.c

@@ -764,11 +764,11 @@ static void render_callback(Canvas* const canvas, void* ctx) {
     furi_mutex_release(program_state->mutex);
 }
 
-static void input_callback(InputEvent* input_event, FuriMessageQueue* event_queue) {
+static void input_callback(InputEvent* input_event, void* event_queue) {
     furi_assert(event_queue);
 
     PluginEvent event = {.type = EventTypeKey, .input = *input_event};
-    furi_message_queue_put(event_queue, &event, FuriWaitForever);
+    furi_message_queue_put((FuriMessageQueue*)event_queue, &event, FuriWaitForever);
 }
 
 static void mfkey_state_init(ProgramState* program_state) {