Fix warning message. Add other pwm channel.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 21 May 2008 17:16:14 +0000 (17:16 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 21 May 2008 17:16:14 +0000 (17:16 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1318 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/hw/hw_tc520.h
bertos/hw/pwm_map.h

index cd6f4d5310c6106e908cf848d776f6642f7abd7a..9dd09c32a4aec13610711064467240fd5aab863e 100644 (file)
@@ -41,7 +41,7 @@
 
 #include <cfg/compiler.h>
 
-#warning This is hw example for TC520, you must implement it for your specific hardware
+#warning TODO:This is example implemetantion, you must implement it! 
 
 #define CE_PIN      0
 #define DV_PIN      0
index da0c2c97eb60b2e8926e8afa1dc043098bc5f422..97f8246755a20e713a46b1a8818a0405450d5dd3 100644 (file)
 typedef enum
 {
        PWM_CH0 = 0,
+       PWM_CH1,
+       PWM_CH2,
+       PWM_CH3,
 
-/*     add other PWM channel */
+/*     
+ *     add other PWM channel or
+ *     change above.
+ */
 
        PWM_CNT
 } PwmDev;