From: smckown Date: Tue, 16 Sep 2008 14:20:43 +0000 (+0000) Subject: Update the HalSensirionSht11C platform files to provide the necessary X-Git-Tag: release/2.1.0-1~37 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=ee0b40b5a2f434d5b2df1619449b408b541433ce;p=tinyos-2.x.git Update the HalSensirionSht11C platform files to provide the necessary BusyWait interface. --- 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;