From 443e8201b81d90890661a6f6a54b2414dafb5fb3 Mon Sep 17 00:00:00 2001 From: averne Date: Wed, 6 Feb 2019 00:04:49 +0100 Subject: [PATCH] Remove char names, print amiibo ID instead --- nfc/source/main.c | 574 +--------------------------------------------- 1 file changed, 10 insertions(+), 564 deletions(-) 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