summaryrefslogtreecommitdiffstats
path: root/source/Concept/Framework/modules
diff options
context:
space:
mode:
Diffstat (limited to 'source/Concept/Framework/modules')
-rwxr-xr-xsource/Concept/Framework/modules/input/distance_sensor.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/Concept/Framework/modules/input/distance_sensor.h b/source/Concept/Framework/modules/input/distance_sensor.h
index 9efa021..9fb2c58 100755
--- a/source/Concept/Framework/modules/input/distance_sensor.h
+++ b/source/Concept/Framework/modules/input/distance_sensor.h
@@ -50,7 +50,10 @@ public:
default:
this->slaveAddr = 0;
break;
- }
+ }
+
+ // initialiate the sensor
+ srf10_init();
}
protected: