* companion: temp fix: logRxRaw() is blowing the MAX_FRAME_SIZE

Este commit está contenido en:
Scott Powell
2025-03-28 14:14:59 +11:00
padre c0cb57be5c
commit ba93867037
+1 -1
Ver fichero
@@ -484,7 +484,7 @@ protected:
}
void logRxRaw(float snr, float rssi, const uint8_t raw[], int len) override {
if (_serial->isConnected()) {
if (_serial->isConnected() && len+3 <= MAX_FRAME_SIZE) {
int i = 0;
out_frame[i++] = PUSH_CODE_LOG_RX_DATA;
out_frame[i++] = (int8_t)(snr * 4);