Support GPS Provider and SBAS mod in MSP_MISC.
This commit is contained in:
parent
a48a848890
commit
df61d9a7eb
|
@ -910,9 +910,9 @@ static bool processOutCommand(uint8_t cmdMSP)
|
|||
|
||||
serialize16(currentProfile->failsafeConfig.failsafe_throttle);
|
||||
|
||||
serialize8(0); // gps_type
|
||||
serialize8(0); // gps_baudrate
|
||||
serialize8(0); // gps_ubx_sbas
|
||||
serialize8(masterConfig.gpsConfig.provider); // gps_type
|
||||
serialize8(0); // TODO gps_baudrate (an index, cleanflight uses a uint32_t
|
||||
serialize8(masterConfig.gpsConfig.sbasMode); // gps_ubx_sbas
|
||||
serialize8(masterConfig.batteryConfig.multiwiiCurrentMeterOutput);
|
||||
serialize8(masterConfig.rxConfig.rssi_channel);
|
||||
serialize8(0);
|
||||
|
@ -1202,9 +1202,9 @@ static bool processInCommand(void)
|
|||
|
||||
currentProfile->failsafeConfig.failsafe_throttle = read16();
|
||||
|
||||
read8(); // gps_type
|
||||
masterConfig.gpsConfig.provider = read8(); // gps_type
|
||||
read8(); // gps_baudrate
|
||||
read8(); // gps_ubx_sbas
|
||||
masterConfig.gpsConfig.sbasMode = read8(); // gps_ubx_sbas
|
||||
masterConfig.batteryConfig.multiwiiCurrentMeterOutput = read8();
|
||||
masterConfig.rxConfig.rssi_channel = read8();
|
||||
read8();
|
||||
|
|
Loading…
Reference in New Issue