QuRT logging improvements (#24462)

- Made general improvements to the QURT platform message logging so that module name is printed both in mini-dm and on apps side terminal
This commit is contained in:
Eric Katzfey
2025-03-10 15:59:52 -07:00
committed by GitHub
parent 7e0d04e446
commit 5a05444bad
9 changed files with 45 additions and 26 deletions
@@ -56,10 +56,10 @@ void uORB::AppsProtobufChannel::ReceiveCallback(const char *topic,
if (_Debug) { PX4_INFO("Got Receive callback for topic %s", topic); }
if (strcmp(topic, "slpi_debug") == 0) {
PX4_INFO("SLPI: %s", (const char *) data);
PX4_INFO("%s", (const char *) data);
} else if (strcmp(topic, "slpi_error") == 0) {
PX4_ERR("SLPI: %s", (const char *) data);
PX4_ERR("%s", (const char *) data);
} else if (IS_MUORB_TEST(topic)) {
// Validate the test data received