nfc: Fix MFUL auth success usage, remove unused variable

This commit is contained in:
Yukai Li
2022-10-07 01:11:03 -06:00
parent 2e93c6268e
commit b839566f3e
3 changed files with 2 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ void mf_ul_reset(MfUltralightData* data) {
data->data_size = 0;
data->data_read = 0;
data->curr_authlim = 0;
data->has_auth = false;
data->auth_success = false;
}
static MfUltralightFeatures mf_ul_get_features(MfUltralightType type) {

View File

@@ -110,7 +110,6 @@ typedef struct {
uint8_t signature[32];
uint32_t counter[3];
uint8_t tearing[3];
bool has_auth;
MfUltralightAuthMethod auth_method;
uint8_t auth_key[4];
bool auth_success;