From: asterix Date: Mon, 26 May 2008 12:20:32 +0000 (+0000) Subject: Add type include. Fix semicolon. X-Git-Tag: 2.0.0~565 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=429452acefe6357c869e3dd7da4261137ab02b42;p=bertos.git Add type include. Fix semicolon. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1369 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/avr/drv/pwm_avr.c b/bertos/cpu/avr/drv/pwm_avr.c index ada71356..cc1e07d6 100644 --- a/bertos/cpu/avr/drv/pwm_avr.c +++ b/bertos/cpu/avr/drv/pwm_avr.c @@ -58,7 +58,7 @@ pwm_period_t pwm_hw_getPeriod(PwmDev dev) * PWM channel */ - return 0 + return 0; } /** diff --git a/bertos/cpu/avr/drv/pwm_avr.h b/bertos/cpu/avr/drv/pwm_avr.h index 022cfba7..0283269e 100644 --- a/bertos/cpu/avr/drv/pwm_avr.h +++ b/bertos/cpu/avr/drv/pwm_avr.h @@ -45,6 +45,8 @@ #include "appconfig.h" +#include + #define PWM_HW_MAX_PRESCALER_STEP 10 #define PWM_HW_MAX_PERIOD 0xFFFF