From e3d3afe659e35b81346a7e7b559dbe6ec21ca9a6 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Fri, 30 Nov 2012 20:57:10 +0100 Subject: [PATCH] definitions for device_config --- ykcore/ykcore.h | 1 + ykcore/ykcore_lcl.h | 1 + ykcore/ykdef.h | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ykcore/ykcore.h b/ykcore/ykcore.h index ca70e6f..f7acaf0 100644 --- a/ykcore/ykcore.h +++ b/ykcore/ykcore.h @@ -63,6 +63,7 @@ typedef struct yk_nav_st YK_NAV; /* Navigation structure. Other libraries provide access. */ typedef struct yk_frame_st YK_FRAME; /* Data frame for write operation */ typedef struct ndef_st YK_NDEF; +typedef struct yk_device_config_st YK_DEVICE_CONFIG; /************************************************************************* * diff --git a/ykcore/ykcore_lcl.h b/ykcore/ykcore_lcl.h index 131fbc4..7874735 100644 --- a/ykcore/ykcore_lcl.h +++ b/ykcore/ykcore_lcl.h @@ -39,6 +39,7 @@ #define yk_config_st config_st #define yk_nav_st nav_st #define yk_frame_st frame_st +#define yk_device_config_st device_config_st #include "ykcore.h" #include "ykdef.h" diff --git a/ykcore/ykdef.h b/ykcore/ykdef.h index e210228..552ea7f 100644 --- a/ykcore/ykdef.h +++ b/ykcore/ykdef.h @@ -215,7 +215,7 @@ struct nav_st { /* Device configuration block (version 3.0) */ -struct device_st { +struct device_config_st { unsigned char mode; /* Device mode */ unsigned char crTimeout; /* Challenge-response timeout in seconds */ unsigned short autoEject; /* Auto eject time in x10 seconds */ -- 2.39.5