Fixes telemetry stream confusion (#4386)
[S.PORT] DIY range updated: 0x5000 to 0x52ff is full DIY range 0x5000 to 0x50ff is DIY streaming range 0x5100 to 0x52ff is DIY sensor range
This commit is contained in:
committed by
Bertrand Songis
parent
40ece81de2
commit
d594843de2
@@ -210,7 +210,7 @@ void sportProcessTelemetryPacket(const uint8_t * packet)
|
||||
sportProcessTelemetryPacket(id, 0, instance, servosState);
|
||||
sportProcessTelemetryPacket(id, 1, instance, rboxState);
|
||||
}
|
||||
else if (id >= DIY_FIRST_ID && id <= DIY_LAST_ID) {
|
||||
else if (id >= DIY_STREAM_FIRST_ID && id <= DIY_STREAM_LAST_ID) {
|
||||
#if defined(LUA)
|
||||
if (luaInputTelemetryFifo && luaInputTelemetryFifo->hasSpace(sizeof(SportTelemetryPacket))) {
|
||||
SportTelemetryPacket luaPacket;
|
||||
|
||||
Reference in New Issue
Block a user