Add files via upload

Signed-off-by: Niel Nielsen <nieldk@gmail.com>
This commit is contained in:
Niel Nielsen authored and Philippe Teuwen committed 2026-09-01 17:57:31 +02:00
1 parent 3628681a50
commit 9df1c62ec5
6 files changed
+17 -15

No files matched your search

+1 -1
View File
@@ -360,7 +360,7 @@ int CmdLFCommandRead(const char *Cmd) {
memset(payload.period_extra, 0, sizeof(payload.period_extra));
if (cmd_len > (size_t)(pm3_max_cmd_data_size() - PAYLOAD_HEADER_SIZE) - 8 * add_crc_ht - 1) {
PrintAndLogEx(ERR, "cmd too long, max length is %zu", sizeof(cmd) - 1);
PrintAndLogEx(ERR, "cmd too long, max length is %zu", (size_t)(pm3_max_cmd_data_size() - PAYLOAD_HEADER_SIZE) - 8 * add_crc_ht - 1);
return PM3_EINVARG;
}