make sure CloseProxmark sets pm3_present.

This commit is contained in:
iceman1001 2019-05-07 17:31:07 +02:00
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