mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
unify text - step 1
This commit is contained in:
parent
090f31d0a7
commit
875b3c44b4
40 changed files with 167 additions and 128 deletions
|
@ -2696,7 +2696,7 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
|
||||
uint8_t *buff = BigBuf_malloc(size);
|
||||
if (buff == NULL) {
|
||||
if (g_dbglevel >= DBG_DEBUG) Dbprintf("Could not allocate buffer");
|
||||
if (g_dbglevel >= DBG_DEBUG) Dbprintf("Failed to allocate memory");
|
||||
// Trigger a finish downloading signal with an PM3_EMALLOC
|
||||
reply_ng(CMD_SPIFFS_DOWNLOAD, PM3_EMALLOC, NULL, 0);
|
||||
} else {
|
||||
|
@ -2826,6 +2826,7 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
|
||||
uint8_t *em = BigBuf_get_EM_addr();
|
||||
if (em == NULL) {
|
||||
if (g_dbglevel >= DBG_DEBUG) Dbprintf("Failed to allocate memory");
|
||||
reply_ng(CMD_SPIFFS_ELOAD, PM3_EMALLOC, NULL, 0);
|
||||
LED_B_OFF();
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue