annotation 15 only when we got bytes

This commit is contained in:
iceman1001 2020-08-15 11:02:06 +02:00
parent 762381237d
commit 2c29f95077

View file

@ -385,6 +385,7 @@ void annotateIclass(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
void annotateIso15693(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
if (cmdsize >= 2) {
switch (cmd[1]) {
case ISO15693_INVENTORY:
snprintf(exp, size, "INVENTORY");
@ -521,6 +522,7 @@ void annotateIso15693(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
else
snprintf(exp, size, "?");
}
}
void annotateTopaz(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
switch (cmd[0]) {