fix build

This commit is contained in:
Conor Patrick 2019-05-09 17:51:41 -04:00
parent 9fb02d4da3
commit e105afd647
4 changed files with 5 additions and 7 deletions

View File

@ -19,7 +19,6 @@
#include "crypto.h"
#include "util.h"
#include "log.h"
#include "nfc.h"
#include "device.h"
#include APP_CONFIG
#include "wallet.h"

View File

@ -99,7 +99,10 @@ typedef enum {
// 2: fastest clock rate. Generally for USB interface.
void device_set_clock_rate(DEVICE_CLOCK_RATE param);
// Returns NFC_IS_NA (0), NFC_IS_ACTIVE (1), or NFC_IS_AVAILABLE (2)
// Returns NFC_IS_NA, NFC_IS_ACTIVE, or NFC_IS_AVAILABLE
#define NFC_IS_NA 0
#define NFC_IS_ACTIVE 1
#define NFC_IS_AVAILABLE 2
int device_is_nfc();
void device_init_button();

View File

@ -624,7 +624,7 @@ void device_wink()
printf("*WINK*\n");
}
bool device_is_nfc()
int device_is_nfc()
{
return 0;
}

View File

@ -10,10 +10,6 @@ int nfc_loop();
int nfc_init();
#define NFC_IS_NA 0
#define NFC_IS_ACTIVE 1
#define NFC_IS_AVAILABLE 2
typedef struct
{
uint8_t cclen_hi;