diff --git a/nfc/source/main.c b/nfc/source/main.c index 00a4950..4d97758 100644 --- a/nfc/source/main.c +++ b/nfc/source/main.c @@ -9,11 +9,6 @@ // See also libnx nfc.h. -#define PRINT_UPD(fmt, ...) ({ \ - printf(fmt, ## __VA_ARGS__); \ - consoleUpdate(NULL); \ -}) - // Indefinitely wait for an event to be signaled // Break when + is pressed, or if the application should quit (in this case, return value will be non-zero) Result eventWaitLoop(Event *event) { @@ -27,6 +22,7 @@ Result eventWaitLoop(Event *event) { return rc; } +// Print raw data as hexadecimal numbers. void print_hex(void *buf, size_t size) { u8 *data = (u8 *)buf; for (size_t i=0; i