From 429452acefe6357c869e3dd7da4261137ab02b42 Mon Sep 17 00:00:00 2001 From: asterix Date: Mon, 26 May 2008 12:20:32 +0000 Subject: [PATCH] Add type include. Fix semicolon. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1369 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/avr/drv/pwm_avr.c | 2 +- bertos/cpu/avr/drv/pwm_avr.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.25.1