aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common/Utilities
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-11-02 20:13:27 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-11-02 20:13:27 +0200
commit2a8d3d38bd80fe011f8e6921742574b2ff71fa72 (patch)
treec1d2dd4c52d0e255039ed561363741df875155e7 /Software/Embedded_SW/Embedded/Common/Utilities
parentf0905c07b9b5bc33aa9bad914ca799cf1e8a920c (diff)
downloadTango-2a8d3d38bd80fe011f8e6921742574b2ff71fa72.tar.gz
Tango-2a8d3d38bd80fe011f8e6921742574b2ff71fa72.zip
warning removed!
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/Utilities')
-rw-r--r--Software/Embedded_SW/Embedded/Common/Utilities/RFIDTagHandling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/Utilities/RFIDTagHandling.c b/Software/Embedded_SW/Embedded/Common/Utilities/RFIDTagHandling.c
index 7bc1c2e54..6d15afc6a 100644
--- a/Software/Embedded_SW/Embedded/Common/Utilities/RFIDTagHandling.c
+++ b/Software/Embedded_SW/Embedded/Common/Utilities/RFIDTagHandling.c
@@ -191,7 +191,7 @@ CartridgeTagContent * NFCTag_Tag2PPC(NFCTag_t *Tag)
PpcTag->has_fillsysid = true;
PpcTag->fillsysid = Tag->fillingSystem;
PpcTag->has_inkcategory = true;
- PpcTag->inkcategory = Tag->catagory;
+ PpcTag->inkcategory = Tag->catagory[0]<<8+Tag->catagory[1];
PpcTag->has_type_rev = true;
PpcTag->type_rev = Tag->type;
PpcTag->has_cartridgesize = true;