From: asterix Date: Wed, 21 May 2008 17:16:14 +0000 (+0000) Subject: Fix warning message. Add other pwm channel. X-Git-Tag: 2.0.0~616 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=23d4f4176b73782f3810e8592e0676ca8e49cd6f;hp=4f9af8a775a365099dc2b4b99b0d140dfd721462;p=bertos.git Fix warning message. Add other pwm channel. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1318 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/hw/hw_tc520.h b/bertos/hw/hw_tc520.h index cd6f4d53..9dd09c32 100644 --- a/bertos/hw/hw_tc520.h +++ b/bertos/hw/hw_tc520.h @@ -41,7 +41,7 @@ #include -#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 diff --git a/bertos/hw/pwm_map.h b/bertos/hw/pwm_map.h index da0c2c97..97f82467 100644 --- a/bertos/hw/pwm_map.h +++ b/bertos/hw/pwm_map.h @@ -45,8 +45,14 @@ 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;