diff --git a/libraries/DataFlash/LogFile.cpp b/libraries/DataFlash/LogFile.cpp index cc03c28029..eb81d1016d 100644 --- a/libraries/DataFlash/LogFile.cpp +++ b/libraries/DataFlash/LogFile.cpp @@ -320,7 +320,7 @@ void DataFlash_Backend::_print_log_entry(uint8_t msg_type, if (!ReadBlock(pkt, msg_len)) { return; } - port->printf("%S, ", _structures[i].name); + port->printf("%s, ", _structures[i].name); for (uint8_t ofs=0, fmt_ofs=0; ofsprintf("FMT, %u, %u, %S, %S, %S\n", + port->printf("FMT, %u, %u, %s, %s, %s\n", (unsigned)PGM_UINT8(&s->msg_type), (unsigned)PGM_UINT8(&s->msg_len), s->name, s->format, s->labels);