make sure CloseProxmark sets pm3_present.

This commit is contained in:
iceman1001
2019-05-07 17:31:07 +02:00
parent 7eb7685559
commit cb991b4d2c
3 changed files with 11 additions and 10 deletions

View File

@@ -657,6 +657,8 @@ void CloseProxmark(void) {
// Clean up our state
sp = NULL;
memset(&communication_thread, 0, sizeof(pthread_t));
session.pm3_present = false;
}
// Gives a rough estimate of the communication delay based on channel & baudrate