mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-13 01:57:25 -07:00
rename global session
This commit is contained in:
parent
6a2f2b3979
commit
dd3b63ae32
20 changed files with 258 additions and 258 deletions
|
@ -22,9 +22,9 @@ bool AlwaysAvailable(void) {
|
|||
}
|
||||
|
||||
bool IfPm3Present(void) {
|
||||
if (session.help_dump_mode)
|
||||
if (g_session.help_dump_mode)
|
||||
return false;
|
||||
return session.pm3_present;
|
||||
return g_session.pm3_present;
|
||||
}
|
||||
|
||||
bool IfPm3Rdv4Fw(void) {
|
||||
|
@ -195,8 +195,8 @@ void CmdsHelp(const command_t Commands[]) {
|
|||
|
||||
int CmdsParse(const command_t Commands[], const char *Cmd) {
|
||||
|
||||
if (session.client_exe_delay != 0) {
|
||||
msleep(session.client_exe_delay);
|
||||
if (g_session.client_exe_delay != 0) {
|
||||
msleep(g_session.client_exe_delay);
|
||||
}
|
||||
|
||||
// Help dump children
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue