aboutsummaryrefslogtreecommitdiff
path: root/include/device_proto.h
diff options
context:
space:
mode:
authorElie Tournier <tournier.elie@gmail.com>2017-04-20 11:15:40 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-05-25 15:16:12 +0200
commitea9a9d738e7a53ceca93de6e41501b6b31bb1844 (patch)
tree8e6d94f45deccb74856cb53cbed42427561000fe /include/device_proto.h
parentaf1e72475cc3f1cfc7cadece162e2231610c8cd0 (diff)
downloadlibnitrokey-pr_60.tar.gz
libnitrokey-pr_60.tar.bz2
Rename #define: s/STICK10/NKPRO and s/STICK20/NKSTORAGEpr_60
Signed-off-by: Elie Tournier <tournier.elie@gmail.com>
Diffstat (limited to 'include/device_proto.h')
-rw-r--r--include/device_proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/device_proto.h b/include/device_proto.h
index 4abb7b8..935739e 100644
--- a/include/device_proto.h
+++ b/include/device_proto.h
@@ -17,8 +17,8 @@
#include "CommandFailedException.h"
#include "LongOperationInProgressException.h"
-#define STICK20_UPDATE_MODE_VID 0x03EB
-#define STICK20_UPDATE_MODE_PID 0x2FF1
+#define NKSTORAGE_UPDATE_MODE_VID 0x03EB
+#define NKSTORAGE_UPDATE_MODE_PID 0x2FF1
#define PAYLOAD_SIZE 53
#define PWS_SLOT_COUNT 16