From 750739efe4e1d2b643e7bec6a1c2ec08c86b5fbd Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 22 May 2019 05:59:43 -0400 Subject: [PATCH] chg: not fatal --- client/cmdusart.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/client/cmdusart.c b/client/cmdusart.c index 7da6d1298..e5261c79c 100644 --- a/client/cmdusart.c +++ b/client/cmdusart.c @@ -337,7 +337,7 @@ static int CmdUsartBtFactory(const char *Cmd) { if (!found) { PrintAndLogEx(FAILED, "Sorry, add-on not found. Abort."); - return PM3_EFATAL; + return PM3_ESOFT; } PrintAndLogEx(INFO, "Reconfiguring add-on to default settings."); @@ -359,7 +359,7 @@ static int CmdUsartBtFactory(const char *Cmd) { } } else { PrintAndLogEx(WARNING, "Lost contact with add-on, please try again"); - return PM3_EFATAL; + return PM3_ESOFT; } memset(data, 0, sizeof(data)); @@ -377,7 +377,7 @@ static int CmdUsartBtFactory(const char *Cmd) { } } else { PrintAndLogEx(WARNING, "Lost contact with add-on, please try again"); - return PM3_EFATAL; + return PM3_ESOFT; } memset(data, 0, sizeof(data)); @@ -395,7 +395,7 @@ static int CmdUsartBtFactory(const char *Cmd) { } } else { PrintAndLogEx(WARNING, "Lost contact with add-on, please try again"); - return PM3_EFATAL; + return PM3_ESOFT; } // parity must be changed before baudrate @@ -415,7 +415,7 @@ static int CmdUsartBtFactory(const char *Cmd) { } } else { PrintAndLogEx(WARNING, "Lost contact with add-on, please try again"); - return PM3_EFATAL; + return PM3_ESOFT; } } @@ -435,7 +435,7 @@ static int CmdUsartBtFactory(const char *Cmd) { } } else { PrintAndLogEx(WARNING, "Lost contact with add-on, please try again"); - return PM3_EFATAL; + return PM3_ESOFT; } } @@ -451,7 +451,7 @@ static int CmdUsartBtFactory(const char *Cmd) { found = usart_bt_testcomm(USART_BAUD_RATE, USART_PARITY) == PM3_SUCCESS; if (!found) { PrintAndLogEx(WARNING, "Lost contact with add-on, please try again"); - return PM3_EFATAL; + return PM3_ESOFT; } }