| 1236 | } |
| 1237 | |
| 1238 | void WBLink::transmit_telemetry_data(TelemetryTxPacket packet) { |
| 1239 | assert(packet.n_injections >= 1); |
| 1240 | // m_console->debug("N injections:{}",packet.n_injections); |
| 1241 | const auto n_dropped = |
| 1242 | m_wb_tele_tx->enqueue_packet_dropping(packet.data, packet.n_injections); |
| 1243 | if (n_dropped > 0) { |
| 1244 | m_console->debug("Telemetry queue jam, dropped {}", n_dropped); |
| 1245 | } |
| 1246 | } |
| 1247 | |
| 1248 | void WBLink::transmit_video_data( |
| 1249 | int stream_index, |