autodetect passive nfc operation or usb operation

This commit is contained in:
Conor Patrick
2019-02-26 15:04:23 -05:00
parent e2ca7f52db
commit e8d0ad5e7c
9 changed files with 175 additions and 153 deletions

View File

@ -5,7 +5,9 @@
#include <stdbool.h>
#include "apdu.h"
void nfc_loop();
// Return number of bytes read if any.
int nfc_loop();
bool nfc_init();
typedef struct