Fix compiling with disabled debug apdu.

This commit is contained in:
Pol Henarejos 2022-08-30 16:57:12 +02:00
parent b42e2b5493
commit 13983bdd68
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -30,7 +30,7 @@ typedef struct app {
extern int register_app(app_t * (*)());
#ifdef DEBUG_APDU
#if defined(DEBUG_APDU) && DEBUG_APDU == 1
#define DEBUG_PAYLOAD(_p,_s) { \
printf("Payload %s (%d bytes):\r\n", #_p,_s);\
for (int _i = 0; _i < _s; _i += 16) {\