MAC decode printout tuned

This commit is contained in:
Klaus K Wilting 2020-03-08 16:15:16 +01:00
parent 795ca18f6a
commit 3ab9cf5a42

View File

@ -573,7 +573,7 @@ void mac_decode(const uint8_t cmd[], const uint8_t cmdlen, bool is_down) {
memmove(foundcmd, cmd + cursor, memmove(foundcmd, cmd + cursor,
(p + i)->params); // strip opcode from cmd array (p + i)->params); // strip opcode from cmd array
cursor += (p + i)->params; cursor += (p + i)->params;
ESP_LOGD(TAG, "%s MAC command %s", MACdir, (p + i)->cmdname); ESP_LOGD(TAG, "%s %s", MACdir, (p + i)->cmdname);
} else } else
ESP_LOGD(TAG, "%s MAC command 0x%02X with missing parameter(s)", ESP_LOGD(TAG, "%s MAC command 0x%02X with missing parameter(s)",
MACdir, (p + i)->cid); MACdir, (p + i)->cid);