summaryrefslogtreecommitdiff
path: root/libtwn3.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtwn3.c')
-rw-r--r--libtwn3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtwn3.c b/libtwn3.c
index 6359995..4a63186 100644
--- a/libtwn3.c
+++ b/libtwn3.c
@@ -273,9 +273,9 @@ int twn3_sync_select_first(int fd, uint8_t flags, uint8_t* type, uint8_t* uid, s
size_t u = 0;
ssize_t bytes = twn3_sync_command(fd, flags, (uint8_t*) "s", 1, (uint8_t*) data, sizeof(data));
- *type = tag_none;
+ *type = twn3_tag_none;
if(bytes > 2 && data[0] != 'N'){
- *type = tag_unknown;
+ *type = twn3_tag_unknown;
u = decode_ascii_inplace((uint8_t*) data, bytes - 2);