mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-06-11 12:58:14 +02:00
Fix compiling with disabled debug apdu.
This commit is contained in:
@@ -30,7 +30,7 @@ typedef struct app {
|
|||||||
|
|
||||||
extern int register_app(app_t * (*)());
|
extern int register_app(app_t * (*)());
|
||||||
|
|
||||||
#ifdef DEBUG_APDU
|
#if defined(DEBUG_APDU) && DEBUG_APDU == 1
|
||||||
#define DEBUG_PAYLOAD(_p,_s) { \
|
#define DEBUG_PAYLOAD(_p,_s) { \
|
||||||
printf("Payload %s (%d bytes):\r\n", #_p,_s);\
|
printf("Payload %s (%d bytes):\r\n", #_p,_s);\
|
||||||
for (int _i = 0; _i < _s; _i += 16) {\
|
for (int _i = 0; _i < _s; _i += 16) {\
|
||||||
|
|||||||
Reference in New Issue
Block a user