Update cmdhfwaveshare help

This commit is contained in:
Marcos Del Sol Vives 2024-01-07 19:29:32 +01:00
commit dccb404329
No known key found for this signature in database

View file

@ -569,7 +569,7 @@ static int CmdHF14AWSLoad(const char *Cmd) {
for (uint8_t i = 0; i < MEND; i++) { for (uint8_t i = 0; i < MEND; i++) {
snprintf(desc + strlen(desc), snprintf(desc + strlen(desc),
sizeof(desc) - strlen(desc), sizeof(desc) - strlen(desc),
"hf waveshare loadbmp -f myfile -m %2u -> %s ( %u, %u )\n", "hf waveshare load -f myfile -m %2u -> %s ( %u, %u )\n",
i, i,
models[i].desc, models[i].desc,
models[i].width, models[i].width,
@ -578,8 +578,8 @@ static int CmdHF14AWSLoad(const char *Cmd) {
} }
CLIParserContext *ctx; CLIParserContext *ctx;
CLIParserInit(&ctx, "hf waveshare loadbmp", CLIParserInit(&ctx, "hf waveshare load",
"Load BMP file to Waveshare NFC ePaper.", "Load image file to Waveshare NFC ePaper",
desc desc
); );