summaryrefslogtreecommitdiffstats
path: root/Srf10.h
diff options
context:
space:
mode:
Diffstat (limited to 'Srf10.h')
-rw-r--r--Srf10.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Srf10.h b/Srf10.h
index c7417b8..1b69018 100644
--- a/Srf10.h
+++ b/Srf10.h
@@ -19,6 +19,7 @@ private:
int firmware;
long distance;
+ bool has_distance;
Srf10Units unit;
@@ -39,6 +40,7 @@ public:
long updateDistance();
long getDistance() {return distance;}
+ bool hasDistance() {return has_distance;}
};
#endif