Skip to content

Commit

Permalink
Merge pull request #9320 from iNavFlight/mmosca-southpan
Browse files Browse the repository at this point in the history
Add SouthPAN SBAS for all my friends in AU/NZ.
  • Loading branch information
DzikuVx authored Sep 29, 2023
2 parents 497c01e + 970034f commit 4cbe897
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/fc/settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ tables:
values: ["NMEA", "UBLOX", "UBLOX7", "MSP", "FAKE"]
enum: gpsProvider_e
- name: gps_sbas_mode
values: ["AUTO", "EGNOS", "WAAS", "MSAS", "GAGAN", "NONE"]
values: ["AUTO", "EGNOS", "WAAS", "MSAS", "GAGAN", "SPAN", "NONE"]
enum: sbasMode_e
- name: gps_dyn_model
values: ["PEDESTRIAN", "AIR_1G", "AIR_4G"]
Expand Down
1 change: 1 addition & 0 deletions src/main/io/gps.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ typedef enum {
SBAS_WAAS,
SBAS_MSAS,
SBAS_GAGAN,
SBAS_SPAN,
SBAS_NONE
} sbasMode_e;

Expand Down
1 change: 1 addition & 0 deletions src/main/io/gps_ublox.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ static const uint32_t ubloxScanMode1[] = {
(SBASMASK1_BITS(129) | SBASMASK1_BITS(137) | SBASMASK1_BITS(139)), // MSAS

(SBASMASK1_BITS(127) | SBASMASK1_BITS(128) | SBASMASK1_BITS(132)), // GAGAN
(SBASMASK1_BITS(122)), // SPAN
0x00000000, // NONE
};

Expand Down

0 comments on commit 4cbe897

Please sign in to comment.