mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* companion: temp fix: logRxRaw() is blowing the MAX_FRAME_SIZE
This commit is contained in:
parent
c0cb57be5c
commit
ba93867037
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue