]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
add support for the MTS300CB / MTS310CB
authormmaroti <mmaroti>
Mon, 3 May 2010 15:53:38 +0000 (15:53 +0000)
committermmaroti <mmaroti>
Mon, 3 May 2010 15:53:38 +0000 (15:53 +0000)
tos/sensorboards/mts300/PhotoTempDeviceC.nc

index 28c1520b00d3f6cc43968c3c2563bfed2a18d5a1..9fc2b05dc2948e405b472725f37bee7d92514659 100644 (file)
@@ -36,7 +36,11 @@ implementation
   TempPower.SplitControl -> TempControl;
   TempControl.PhotoTempResource -> SharingArbiter.Resource[unique(UQ_PHOTOTEMP_RESOURCE)];
   TempControl.Timer -> WarmupTimer;
+#if defined(MTS300CA) || defined(MTS310CA)
   TempControl.Power -> MicaBusC.Int2;
+#elif defined(MTS300CB) | defined(MTS310CB)
+  TempControl.Power -> MicaBusC.PW0;
+#endif
   ReadTemp = TempControl;
   TempControl.ActualRead -> Adc;