diff options
author | Julian Oes <julian@oes.ch> | 2014-06-12 19:37:25 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-06-12 19:37:25 +0200 |
commit | 3b39a8a789e347e318375ebe18c583eabec0501c (patch) | |
tree | 233588bb3218cc3d3a1f0497c25784385bb45bd6 /src/modules/navigator/navigator_mode.h | |
parent | 59ae8cc054e941aa28edb2b668732ff4024e1cd5 (diff) | |
download | px4-firmware-3b39a8a789e347e318375ebe18c583eabec0501c.tar.gz px4-firmware-3b39a8a789e347e318375ebe18c583eabec0501c.tar.bz2 px4-firmware-3b39a8a789e347e318375ebe18c583eabec0501c.zip |
navigator: rename update and reset calls to on_active and on_inactive
Diffstat (limited to 'src/modules/navigator/navigator_mode.h')
-rw-r--r-- | src/modules/navigator/navigator_mode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/navigator/navigator_mode.h b/src/modules/navigator/navigator_mode.h index 0844bb94d..cbb53d91b 100644 --- a/src/modules/navigator/navigator_mode.h +++ b/src/modules/navigator/navigator_mode.h @@ -68,7 +68,7 @@ public: /** * This function is called while the mode is inactive */ - virtual void reset(); + virtual void on_inactive(); /** * This function is called while the mode is active @@ -76,7 +76,7 @@ public: * @param position setpoint triplet to set * @return true if position setpoint triplet has been changed */ - virtual bool update(struct position_setpoint_triplet_s *pos_sp_triplet); + virtual bool on_active(struct position_setpoint_triplet_s *pos_sp_triplet); protected: Navigator *_navigator; |