Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into mntm-dev
  • Loading branch information
Willy-JL committed Mar 7, 2024
2 parents 93cf6cf + 4e7f25a commit 423ff03
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions applications/main/nfc/plugins/supported_cards/troika.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#include "nfc_supported_card_plugin.h"
#include <flipper_application.h>
#include <core/check.h>

#include <flipper_application/flipper_application.h>

#include <nfc/nfc_device.h>
#include <bit_lib/bit_lib.h>
#include <nfc/protocols/mf_classic/mf_classic_poller_sync.h>
#include "../../api/mosgortrans/mosgortrans_util.h"

#include <bit_lib.h>
#include <datetime.h>
#include "furi_hal_rtc.h"

#define TAG "Troika"

Expand Down Expand Up @@ -88,7 +90,7 @@ static bool troika_get_card_config(TroikaCardConfig* config, MfClassicType type)
config->data_sector = 11;
config->keys = troika_1k_keys;
} else if(type == MfClassicType4k) {
config->data_sector = 11;
config->data_sector = 8; // Further testing needed
config->keys = troika_4k_keys;
} else {
success = false;
Expand Down Expand Up @@ -244,4 +246,4 @@ static const FlipperAppPluginDescriptor troika_plugin_descriptor = {
/* Plugin entry point - must return a pointer to const descriptor */
const FlipperAppPluginDescriptor* troika_plugin_ep() {
return &troika_plugin_descriptor;
}
}

0 comments on commit 423ff03

Please sign in to comment.