Add type include. Fix semicolon.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 26 May 2008 12:20:32 +0000 (12:20 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 26 May 2008 12:20:32 +0000 (12:20 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1369 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/avr/drv/pwm_avr.c
bertos/cpu/avr/drv/pwm_avr.h

index ada713565e5afc0f3e31a74b62e92f6ad871f5bb..cc1e07d6f9d4d66207f68095f8e5fcdc0fcb3908 100644 (file)
@@ -58,7 +58,7 @@ pwm_period_t pwm_hw_getPeriod(PwmDev dev)
         * PWM channel
         */
 
-       return 0
+       return 0;
 }
 
 /**
index 022cfba770e90a91c56983cbd5d97f2713c9444d..0283269e6271c8c0aaef298e0352f554ecaa40fe 100644 (file)
@@ -45,6 +45,8 @@
 
 #include "appconfig.h"
 
+#include <cpu/types.h>
+
 #define PWM_HW_MAX_PRESCALER_STEP         10
 #define PWM_HW_MAX_PERIOD             0xFFFF