aboutsummaryrefslogtreecommitdiff
path: root/src/modules/navigator/rtl.h
diff options
context:
space:
mode:
authorJulian Oes <julian@oes.ch>2014-06-12 19:37:25 +0200
committerJulian Oes <julian@oes.ch>2014-06-12 19:37:25 +0200
commit3b39a8a789e347e318375ebe18c583eabec0501c (patch)
tree233588bb3218cc3d3a1f0497c25784385bb45bd6 /src/modules/navigator/rtl.h
parent59ae8cc054e941aa28edb2b668732ff4024e1cd5 (diff)
downloadpx4-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/rtl.h')
-rw-r--r--src/modules/navigator/rtl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/navigator/rtl.h b/src/modules/navigator/rtl.h
index 9836f5064..bcccf7454 100644
--- a/src/modules/navigator/rtl.h
+++ b/src/modules/navigator/rtl.h
@@ -70,7 +70,7 @@ public:
/**
* This function is called while the mode is inactive
*/
- void reset();
+ void on_inactive();
/**
* This function is called while the mode is active
@@ -78,7 +78,7 @@ public:
* @param position setpoint triplet that needs to be set
* @return true if updated
*/
- bool update(position_setpoint_triplet_s *pos_sp_triplet);
+ bool on_active(position_setpoint_triplet_s *pos_sp_triplet);
private: