From: janhauer Date: Fri, 20 Jun 2008 15:50:34 +0000 (+0000) Subject: Restored warnings (and replaced tabs by spaces in Msp430Adc12ImplP.nc) X-Git-Tag: release_tinyos_2_1_0_0~222 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=4cee84d1be44b15ba40e994ba71e45d9f1c76686 Restored warnings (and replaced tabs by spaces in Msp430Adc12ImplP.nc) --- diff --git a/tos/chips/cc2420/lpl/DummyLplC.nc b/tos/chips/cc2420/lpl/DummyLplC.nc index fa6ec001..3d9683bd 100644 --- a/tos/chips/cc2420/lpl/DummyLplC.nc +++ b/tos/chips/cc2420/lpl/DummyLplC.nc @@ -36,7 +36,7 @@ * @author David Moss */ -//#warning "*** LOW POWER COMMUNICATIONS DISABLED ***" +#warning "*** LOW POWER COMMUNICATIONS DISABLED ***" configuration DummyLplC { provides { diff --git a/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc b/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc index a7e85a66..65ef88e0 100644 --- a/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc +++ b/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc @@ -42,10 +42,10 @@ module Msp430Adc12ImplP interface Msp430Adc12MultiChannel as MultiChannel[uint8_t id]; interface Msp430Adc12Overflow as Overflow[uint8_t id]; interface AsyncStdControl as DMAExtension[uint8_t id]; - } - uses { + } + uses { interface ArbiterInfo as ADCArbiterInfo; - interface HplAdc12; + interface HplAdc12; interface Msp430Timer as TimerA;; interface Msp430TimerControl as ControlA0; interface Msp430TimerControl as ControlA1; @@ -59,11 +59,11 @@ module Msp430Adc12ImplP interface HplMsp430GeneralIO as Port65; interface HplMsp430GeneralIO as Port66; interface HplMsp430GeneralIO as Port67; - } + } } implementation { -//#warning Accessing TimerA for ADC12 +#warning Accessing TimerA for ADC12 enum { SINGLE_DATA = 1, SINGLE_DATA_REPEAT = 2,