New protocol BUGSMINI

Models: MJX Bugs 3 Mini and 3H
Protocol BUGSMINI = 42
No sub_protocol
Telemetry = RX RSSI and battery voltage  good/warning/bad
RX_Num is used to give a number to a given model. You must use a different RX_Num per MJX Bugs Mini. A maximum of 16 Bugs Mini are supported.
Channels:
ARM	CH5
ANGLE	CH6
FLIP		CH7
PICTURE	CH8
VIDEO	CH9
LED		CH10
This commit is contained in:
Pascal Langer
2018-10-17 13:23:27 +02:00
parent 220eb8f6f4
commit 10788976b6
7 changed files with 390 additions and 8 deletions

View File

@@ -367,7 +367,7 @@ void frsky_link_frame()
telemetry_link |= 2 ; // Send hub if available
}
else
if (protocol==PROTO_HUBSAN||protocol==PROTO_AFHDS2A||protocol==PROTO_BAYANG||protocol==PROTO_CABELL||protocol==PROTO_HITEC||protocol==PROTO_BUGS)
if (protocol==PROTO_HUBSAN||protocol==PROTO_AFHDS2A||protocol==PROTO_BAYANG||protocol==PROTO_CABELL||protocol==PROTO_HITEC||protocol==PROTO_BUGS||protocol==PROTO_BUGSMINI)
{
frame[1] = v_lipo1;
frame[2] = v_lipo2;
@@ -997,7 +997,7 @@ void TelemetryUpdate()
#endif
if((telemetry_link & 1 )&& protocol != PROTO_FRSKYX)
{ // FrSkyD + Hubsan + AFHDS2A + Bayang + Cabell + Hitec + Bugs
{ // FrSkyD + Hubsan + AFHDS2A + Bayang + Cabell + Hitec + Bugs + BugsMini
frsky_link_frame();
return;
}