mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
GPS - fix ubox maximum packet size comparisons. Increase UBlox buffer
size to work with Glonass MSG-SVINFO packets. Skip data from packets that are too large to process without attempting to process a large payout as packet data. Ignore GPS presence check when enabling passthrough mode so that it is possible to configure a GPS unit via the FC without the GPS unit actually having communicated to the FC first.
This commit is contained in:
parent
e8cba5bfb6
commit
1d5c2fb13e
4 changed files with 32 additions and 17 deletions
|
@ -949,10 +949,6 @@ static void cliGpsPassthrough(char *cmdline)
|
|||
gpsEnablePassthroughResult_e result = gpsEnablePassthrough();
|
||||
|
||||
switch (result) {
|
||||
case GPS_PASSTHROUGH_NO_GPS:
|
||||
cliPrint("Error: Enable and plug in GPS first\r\n");
|
||||
break;
|
||||
|
||||
case GPS_PASSTHROUGH_NO_SERIAL_PORT:
|
||||
cliPrint("Error: Enable and plug in GPS first\r\n");
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue