Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: lin_step_mtr.cpp
- Revision:
- 11:2507965c1bec
- Parent:
- 8:f1d869d9b8df
--- a/lin_step_mtr.cpp Tue Apr 28 21:10:15 2020 +0000
+++ b/lin_step_mtr.cpp Wed Apr 29 04:00:45 2020 +0000
@@ -53,11 +53,6 @@
min_rev_cnt = rc;
}
-double LinStepMtr::get_min_rev_cnt()
-{
- return min_rev_cnt;
-}
-
void LinStepMtr::set_max_rev_cnt(double rc)
{
if(rc < MIN_DOUBLE_VAL || rc > MAX_DOUBLE_VAL)
@@ -66,6 +61,11 @@
max_rev_cnt = rc;
}
+double LinStepMtr::get_min_rev_cnt()
+{
+ return min_rev_cnt;
+}
+
double LinStepMtr::get_max_rev_cnt()
{
return max_rev_cnt;