CHG: '-DWITH_EMV' - fixing some compilation errors when compiling with peter fillmore's emv code. Warning a 256kb Proxmark3 device will only have 7% memory left if you enable this

This commit is contained in:
iceman1001 2017-02-05 21:09:36 +01:00
commit 3e83ff2159
7 changed files with 91 additions and 57 deletions

View file

@ -98,7 +98,8 @@ static void *uart_receiver(void *targ) {
prx = rx;
if (txcmd_pending) {
if ( !uart_send(sp, (byte_t*) &txcmd, sizeof(UsbCommand))) {
bool res = uart_send(sp, (byte_t*) &txcmd, sizeof(UsbCommand));
if (!res) {
PrintAndLog("Sending bytes to proxmark failed");
}
txcmd_pending = false;