if (m == NULL)
return -1;
- len = snprintf(dstbuf, size, "%S", m->desc);
+ len = snprintf_P(dstbuf, size, PSTR("%S"), m->desc);
if (len < 0 || len >= size)
return -1;
help_monitor(parse_pgm_token_hdr_t *tk, char *dstbuf,
uint8_t size)
{
- snprintf(dstbuf, size, "Monitor-register");
+ snprintf_P(dstbuf, size, PSTR("Monitor-register"));
return 0;
}