From 587c9aad1488c54eca0bb305a65ba5b80484405d Mon Sep 17 00:00:00 2001 From: Conor Patrick Date: Wed, 6 Feb 2019 18:09:53 -0500 Subject: [PATCH] refactor --- targets/stm32l432/src/nfc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/targets/stm32l432/src/nfc.c b/targets/stm32l432/src/nfc.c index 2442d38..53c77e2 100644 --- a/targets/stm32l432/src/nfc.c +++ b/targets/stm32l432/src/nfc.c @@ -28,6 +28,7 @@ const CAPABILITY_CONTAINER NFC_CC = { // 13 chars uint8_t NDEF_SAMPLE[] = "\x00\x14\xd1\x01\x0eU\x04solokeys.com/"; +// Poor way to get some info while in passive operation #include void nprintf(const char *format, ...) { @@ -737,7 +738,7 @@ void nfc_loop() t2 = millis(); answer_rats(buf[1]); - nprintf("R:%x-%x:%d:%d",firstbuf[0],firstbuf[1],t2-t1,inits); + nprintf("R:%d",t2-t1); /// LL_GPIO_SetOutputPin(GPIOA,LL_GPIO_PIN_12); ///