From 185ec0713433b0dbfb655fc5d1207aa8b15bcdf4 Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Sun, 18 Dec 2016 22:21:34 +0200 Subject: [PATCH] Fixes --- src/hmi_msg.h | 4 +++- src/rfid.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/hmi_msg.h b/src/hmi_msg.h index edb4fbc..b2cff63 100644 --- a/src/hmi_msg.h +++ b/src/hmi_msg.h @@ -45,7 +45,8 @@ #define CARD_SELECTED_MSG "Card selected!" #define UID_SIZE_MSG "UID size: 0x%02X" #define UID_SAK_MSG "UID sak: 0x%02X" - +#define CARD_UID_MSG "Card UID: " +#define CARD_NOT_SELECTED "Unable to select card.\n" extern PGM_P const months[]; @@ -65,5 +66,6 @@ extern const char remove_cmd[]; extern const char remove_help[]; extern const char list_cmd[]; extern const char list_help[]; +extern const char access_denied_msg[]; #endif /* _HMI_MSG_H_ */ diff --git a/src/rfid.c b/src/rfid.c index d324221..da0c948 100644 --- a/src/rfid.c +++ b/src/rfid.c @@ -4,6 +4,7 @@ #include #include #include "rfid.h" +#include "hmi_msg.h" card_t *head = NULL;