diff --git a/nfc/source/main.c b/nfc/source/main.c index c8e0221..00a4950 100644 --- a/nfc/source/main.c +++ b/nfc/source/main.c @@ -9,8 +9,6 @@ // See also libnx nfc.h. -static char *get_amiibo_char(const NfpuModelInfo model_info); - #define PRINT_UPD(fmt, ...) ({ \ printf(fmt, ## __VA_ARGS__); \ consoleUpdate(NULL); \ @@ -29,6 +27,14 @@ Result eventWaitLoop(Event *event) { return rc; } +void print_hex(void *buf, size_t size) { + u8 *data = (u8 *)buf; + for (size_t i=0; i