mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 09:45:37 +03:00
Add NMEA Custom commands (#12591)
* Add NMEA Custom command * Add delay * Remove strdup * more effective way by ledvinap Update src/main/pg/gps.h Co-authored-by: Mark Haslinghuis <mark@numloq.nl> required changes Update src/main/io/gps.c Co-authored-by: Petr Ledvina <ledvinap@gmail.com> Update src/main/io/gps.c Co-authored-by: Jan Post <Rm2k-Freak@web.de> Update src/main/io/gps.c Co-authored-by: Jan Post <Rm2k-Freak@web.de> Update src/main/io/gps.c Co-authored-by: Jan Post <Rm2k-Freak@web.de> Update src/main/cli/settings.c Co-authored-by: Jan Post <Rm2k-Freak@web.de> Update src/main/pg/gps.h Co-authored-by: Jan Post <Rm2k-Freak@web.de> Update src/main/pg/gps.h Co-authored-by: Jan Post <Rm2k-Freak@web.de> fix namings * Update src/main/io/gps.c Co-authored-by: Mark Haslinghuis <mark@numloq.nl> * Update src/main/io/gps.c Co-authored-by: Jan Post <Rm2k-Freak@web.de> --------- Co-authored-by: Mark Haslinghuis <mark@numloq.nl> Co-authored-by: Jan Post <Rm2k-Freak@web.de>
This commit is contained in:
parent
f841367928
commit
7a39c8037f
4 changed files with 38 additions and 2 deletions
|
@ -1008,6 +1008,7 @@ const clivalue_t valueTable[] = {
|
|||
{ PARAM_NAME_GPS_SET_HOME_POINT_ONCE, VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_GPS_CONFIG, offsetof(gpsConfig_t, gps_set_home_point_once) },
|
||||
{ PARAM_NAME_GPS_USE_3D_SPEED, VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_GPS_CONFIG, offsetof(gpsConfig_t, gps_use_3d_speed) },
|
||||
{ PARAM_NAME_GPS_SBAS_INTEGRITY, VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_GPS_CONFIG, offsetof(gpsConfig_t, sbas_integrity) },
|
||||
{ PARAM_NAME_GPS_NMEA_CUSTOM_COMMANDS, VAR_UINT8 | MASTER_VALUE | MODE_STRING, .config.string = { 1, NMEA_CUSTOM_COMMANDS_MAX_LENGTH, STRING_FLAGS_NONE }, PG_GPS_CONFIG, offsetof(gpsConfig_t, nmeaCustomCommands) },
|
||||
|
||||
#ifdef USE_GPS_RESCUE
|
||||
// PG_GPS_RESCUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue