diff --git a/src/maxsonarez/maxsonarez.cxx b/src/maxsonarez/maxsonarez.cxx index 79c0df1c..4a7d3419 100644 --- a/src/maxsonarez/maxsonarez.cxx +++ b/src/maxsonarez/maxsonarez.cxx @@ -65,6 +65,5 @@ int MAXSONAREZ::inches() int MAXSONAREZ::getDistance() { - // TODO: call static conversion first. - return inches(); + return (inches() * 2.54); }