Add serial logging for TX/RX packets

This commit is contained in:
João Brázio 2025-09-05 02:07:26 +01:00
parent 2b920dfed3
commit 77ab19153e
No known key found for this signature in database
GPG key ID: 56A1490716A324DD
3 changed files with 22 additions and 3 deletions

View file

@ -579,7 +579,7 @@ public:
_cli(board, rtc, &_prefs, this), telemetry(MAX_PACKET_PAYLOAD - 4)
{
#ifdef BRIDGE_OVER_SERIAL
bridge = new SerialBridge(BRIDGE_OVER_SERIAL, _mgr);
bridge = new SerialBridge(BRIDGE_OVER_SERIAL, _mgr, &rtc);
#endif
memset(known_clients, 0, sizeof(known_clients));
next_local_advert = next_flood_advert = 0;