]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/tmicore/MoteClockC.nc
Temp fix for ADC_VECTOR undefined for msp430f2x1x
[tinyos-2.x.git] / tos / platforms / tmicore / MoteClockC.nc
index e838b5e5ef108de858cbc5369318b6ff61561b63..466560921af0527233b5142d6d8ead3c0e8ae379 100644 (file)
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+
 /**
  * Set the DCO and ACLK specs here, effectively overriding those in
  * $TOSDIR/tos/chips/msp430/timer/Msp430DcoSpec.h  This is a little hokey.
  * I think I'd rather do it using a generic interface.
- * 
- * @author R. Steve McKown <smckown@gmail.com>
+ *
+ * @author R. Steve McKown <rsmckown@gmail.com>
  */
+
 configuration MoteClockC {
   provides interface Init as MoteClockInit;
 }
@@ -42,7 +42,6 @@ implementation {
   components MoteClockP;
   MoteClockInit = MoteClockP.Init;
 
-  components Msp430ClockC;
+  components new Msp430ClockC(8192, 32);
   MoteClockP.SubInit -> Msp430ClockC.Init;
-  MoteClockP.Msp430ClockInit -> Msp430ClockC;
 }