From dc8b1cde313f3f8a60462187bbeeea4277fd0313 Mon Sep 17 00:00:00 2001 From: meyma Date: Thu, 22 Feb 2007 14:27:02 +0000 Subject: Additional Codework on Distance_Sensor --- source/Concept/Framework/modules/input/distance_sensor.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/Concept/Framework/modules') 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: -- cgit v1.2.3