Skip to content

Commit

Permalink
[gps] remove gps_Reset settings handler
Browse files Browse the repository at this point in the history
this should be added to each GPS implementation separately (where appropriate)
  • Loading branch information
flixr committed Jun 15, 2016
1 parent 56e5bc8 commit 59ac244
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion conf/settings/OPENUAS/openuas_fixedwing_basic_extra.xml
Expand Up @@ -21,7 +21,6 @@
<dl_setting MAX="2" MIN="0" STEP="1" VAR="pprz_mode" module="autopilot" values="MANUAL|AUTO1|AUTO2|HOME|NOGPS|FAILSAFE"/>
<dl_setting MAX="1" MIN="0" STEP="1" VAR="launch"/>
<dl_setting MAX="1" MIN="0" STEP="1" VAR="kill_throttle"/>
<dl_setting MAX="2" MIN="0" STEP="1" VAR="gps.reset" module="subsystems/gps" handler="Reset" shortname="GPS reset"/>
<!-- <dl_setting MAX="0" MIN="0" STEP="1" VAR="estimator_flight_time" shortname="flight time"/>-->
<dl_setting MAX="1000" MIN="0" STEP="1" VAR="stage_time"/>
<!-- <dl_setting MAX="2" MIN="0" STEP="1" VAR="telemetry_mode_Ap_DefaultChannel" shortname="tele_AP" module="downlink"/>
Expand Down
1 change: 0 additions & 1 deletion conf/settings/OPENUAS/openuas_tuning_basic_ins.xml
Expand Up @@ -19,7 +19,6 @@
<dl_setting MAX="1" MIN="0" STEP="1" VAR="kill_throttle"/>
<dl_setting MAX="2" MIN="0" STEP="1" VAR="telemetry_mode_Ap_DefaultChannel" shortname="tele_AP" module="downlink"/>
<dl_setting MAX="1" MIN="0" STEP="1" VAR="telemetry_mode_Fbw_DefaultChannel" shortname="tele_FBW" module="downlink"/>
<dl_setting MAX="2" MIN="0" STEP="1" VAR="gps.reset" module="subsystems/gps" handler="Reset" shortname="GPS reset"/>

<dl_setting MAX="200" MIN="-200" STEP="10" VAR="nav_radius" module="subsystems/nav" handler="SetNavRadius">
<strip_button icon="circle-right.png" name="Circle right" value="1"/>
Expand Down
1 change: 0 additions & 1 deletion conf/settings/fixedwing_basic.xml
Expand Up @@ -21,7 +21,6 @@
<dl_setting MAX="2" MIN="0" STEP="1" VAR="pprz_mode" module="autopilot" values="MANUAL|AUTO1|AUTO2|HOME|NOGPS|FAILSAFE"/>
<dl_setting MAX="1" MIN="0" STEP="1" VAR="launch"/>
<dl_setting MAX="1" MIN="0" STEP="1" VAR="kill_throttle"/>
<dl_setting MAX="2" MIN="0" STEP="1" VAR="gps.reset" module="subsystems/gps" handler="Reset" shortname="GPS reset"/>
</dl_settings>

</dl_settings>
Expand Down
7 changes: 0 additions & 7 deletions sw/airborne/subsystems/gps.h
Expand Up @@ -153,13 +153,6 @@ static inline bool gps_has_been_good(void)
*/
extern void gps_periodic_check(struct GpsState *gps_s);

/**
* GPS Reset
* @todo this still needs to call gps specific stuff
*/
#define gps_Reset(_val) { \
}


/*
* For GPS time synchronizaiton...
Expand Down

0 comments on commit 59ac244

Please sign in to comment.