From ee0b40b5a2f434d5b2df1619449b408b541433ce Mon Sep 17 00:00:00 2001 From: smckown Date: Tue, 16 Sep 2008 14:20:43 +0000 Subject: [PATCH] Update the HalSensirionSht11C platform files to provide the necessary BusyWait interface. --- tos/platforms/telosa/chips/sht11/HalSensirionSht11C.nc | 3 +++ tos/platforms/tmirws/chips/sht11/HalSensirionSht11C.nc | 6 ++++++ tos/sensorboards/im2sb/HalSensirionSht11C.nc | 2 ++ 3 files changed, 11 insertions(+) diff --git a/tos/platforms/telosa/chips/sht11/HalSensirionSht11C.nc b/tos/platforms/telosa/chips/sht11/HalSensirionSht11C.nc index 4714067e..06e729a5 100644 --- a/tos/platforms/telosa/chips/sht11/HalSensirionSht11C.nc +++ b/tos/platforms/telosa/chips/sht11/HalSensirionSht11C.nc @@ -54,6 +54,9 @@ implementation { SensirionSht11LogicP.CLOCK -> HplSensirionSht11C.SCK; SensirionSht11LogicP.InterruptDATA -> HplSensirionSht11C.InterruptDATA; + components SensirionBusyWaitC; + SensirionSht11LogicP.BusyWait -> SensirionBusyWaitC; + components new TimerMilliC(); SensirionSht11LogicP.Timer -> TimerMilliC; diff --git a/tos/platforms/tmirws/chips/sht11/HalSensirionSht11C.nc b/tos/platforms/tmirws/chips/sht11/HalSensirionSht11C.nc index d2de3114..6f011970 100644 --- a/tos/platforms/tmirws/chips/sht11/HalSensirionSht11C.nc +++ b/tos/platforms/tmirws/chips/sht11/HalSensirionSht11C.nc @@ -54,6 +54,12 @@ implementation { SensirionSht11LogicP.CLOCK -> HplSensirionSht11C.SCK; SensirionSht11LogicP.InterruptDATA -> HplSensirionSht11C.InterruptDATA; + components SensirionBusyWaitC; + SensirionSht11LogicP.BusyWait -> SensirionBusyWaitC; + + components SensirionBusyWaitC; + SensirionSht11LogicP.BusyWait -> SensirionBusyWaitC; + components new TimerMilliC(); SensirionSht11LogicP.Timer -> TimerMilliC; diff --git a/tos/sensorboards/im2sb/HalSensirionSht11C.nc b/tos/sensorboards/im2sb/HalSensirionSht11C.nc index 34edc15b..38599ca4 100644 --- a/tos/sensorboards/im2sb/HalSensirionSht11C.nc +++ b/tos/sensorboards/im2sb/HalSensirionSht11C.nc @@ -57,6 +57,8 @@ implementation { SensirionSht11LogicP.CLOCK -> HplSensirionSht11C.SCK; SensirionSht11LogicP.InterruptDATA -> HplSensirionSht11C.InterruptDATA; + components SensirionBusyWaitC; + SensirionSht11LogicP.BusyWait -> SensirionBusyWaitC; components new TimerMilliC(); SensirionSht11LogicP.Timer -> TimerMilliC; -- 2.39.2