mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-26 17:16:22 +08:00
inverse to please osx
This commit is contained in:
parent
d2fdecb8ed
commit
a731bccb01
1 changed files with 3 additions and 3 deletions
|
@ -189,11 +189,11 @@ static int load_config_cards(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static const iclass_config_card_item_t *get_config_card_item(int idx) {
|
static const iclass_config_card_item_t *get_config_card_item(int idx) {
|
||||||
if (idx < 0 && idx > 13) {
|
if (idx > -1 && idx < 14) {
|
||||||
idx = 13;
|
|
||||||
}
|
|
||||||
return &iclass_config_types[idx];
|
return &iclass_config_types[idx];
|
||||||
}
|
}
|
||||||
|
return &iclass_config_types[13];
|
||||||
|
}
|
||||||
|
|
||||||
static void print_config_cards(void) {
|
static void print_config_cards(void) {
|
||||||
if (check_config_card(&iclass_config_types[0])) {
|
if (check_config_card(&iclass_config_types[0])) {
|
||||||
|
|
Loading…
Reference in a new issue