We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c09c82 commit 08a0ec9Copy full SHA for 08a0ec9
src/mavesp8266_vehicle.cpp
@@ -96,7 +96,9 @@ MavESP8266Vehicle::readMessageRaw() {
96
}
97
98
99
- _forwardTo->sendMessageRaw((uint8_t*)buf, buf_index);
+ if (buf_index > 0) {
100
+ _forwardTo->sendMessageRaw((uint8_t*)buf, buf_index);
101
+ }
102
103
104
//---------------------------------------------------------------------------------
0 commit comments