kopia lustrzana https://github.com/lora-aprs/LoRa_APRS_Tracker
String Object needs to be converted to C-style null terminated string in loggng function
rodzic
4d6bdb226c
commit
71d1b9fb5e
|
@ -295,7 +295,7 @@ void loop() {
|
|||
|
||||
msg.getBody()->setData(aprsmsg);
|
||||
String data = msg.encode();
|
||||
logger.log(logging::LoggerLevel::LOGGER_LEVEL_DEBUG, "Loop", "%s", data);
|
||||
logger.log(logging::LoggerLevel::LOGGER_LEVEL_DEBUG, "Loop", "%s", data.c_str());
|
||||
show_display("<< TX >>", data);
|
||||
|
||||
if (Config.ptt.active) {
|
||||
|
|
Ładowanie…
Reference in New Issue