mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
change offline prompt asap
This commit is contained in:
parent
de54d35d5f
commit
a20392edf3
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ static void showBanner(void) {
|
|||
int check_comm(void) {
|
||||
// If communications thread goes down. Device disconnected then this should hook up PM3 again.
|
||||
if ( IsCommunicationThreadDead() && session.pm3_present) {
|
||||
rl_set_prompt("[offline] "PROXPROMPT);
|
||||
session.pm3_present = false;
|
||||
PrintAndLogEx(INFO, "Running in " _YELLOW_("OFFLINE") "mode. Use \"hw connect\" to reconnect\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue