deleted client call of reset function
This commit is contained in:
@@ -1122,10 +1122,6 @@ static void PacketReceived(PacketCommandNG *packet) {
|
||||
em4x50_login((uint32_t *)packet->data.asBytes);
|
||||
break;
|
||||
}
|
||||
case CMD_LF_EM4X50_RESET: {
|
||||
em4x50_reset();
|
||||
break;
|
||||
}
|
||||
case CMD_LF_EM4X50_RESTORE: {
|
||||
em4x50_restore((em4x50_data_t *)packet->data.asBytes);
|
||||
break;
|
||||
|
||||
@@ -1005,22 +1005,6 @@ static int reset(void) {
|
||||
return PM3_EFAILED;
|
||||
}
|
||||
|
||||
void em4x50_reset(void) {
|
||||
|
||||
// reset EM4x50
|
||||
|
||||
uint8_t status = PM3_EFAILED;
|
||||
|
||||
em4x50_setup_read();
|
||||
|
||||
// set gHigh and gLow
|
||||
if (get_signalproperties() && find_em4x50_tag())
|
||||
status = reset();
|
||||
|
||||
lf_finalize();
|
||||
reply_ng(CMD_LF_EM4X50_RESET, status, 0, 0);
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
// read functions
|
||||
//==============================================================================
|
||||
|
||||
@@ -18,14 +18,12 @@ int em4x50_standalone_brute(uint32_t start, uint32_t stop, uint32_t *pwd);
|
||||
bool em4x50_sim_send_listen_window(void);
|
||||
bool em4x50_sim_send_word(uint32_t word);
|
||||
|
||||
|
||||
void em4x50_info(em4x50_data_t *etd);
|
||||
void em4x50_write(em4x50_data_t *etd);
|
||||
void em4x50_writepwd(em4x50_data_t *etd);
|
||||
void em4x50_read(em4x50_data_t *etd);
|
||||
void em4x50_brute(em4x50_data_t *etd);
|
||||
void em4x50_login(uint32_t *password);
|
||||
void em4x50_reset(void);
|
||||
void em4x50_restore(em4x50_data_t *etd);
|
||||
void em4x50_sim(void);
|
||||
void em4x50_reader(void);
|
||||
|
||||
Reference in New Issue
Block a user