Skip to content

Commit

Permalink
sensor: ping360: log async profile requests
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxxzer committed Oct 11, 2024
1 parent b5c79ff commit 22cba07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sensor/ping360.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ void Ping360::asyncProfileRequest()
auto_transmit.set_delay(0);
auto_transmit.updateChecksum();

char msgString[1024];
auto_transmit.getMessageAsString(msgString, 1024);
qCDebug(PING_PROTOCOL_PING360) << "Sending auto transmit message:" << msgString;

// reset the baudrate to stop any ongoing async data transmission from the device and avoid collisions
SerialLink* serialLink = dynamic_cast<SerialLink*>(link());
if (serialLink) {
Expand Down

0 comments on commit 22cba07

Please sign in to comment.