rtl8195am - fix pwmout_api.c warnings

Fix the following warning:

[Warning] pwmout_api.c@65,29: comparison between signed and unsigned integer expressions [-Wsign-compare]

Signed-off-by: Tony Wu <tonywu@realtek.com>
pull/6651/head
Tony Wu 2018-04-17 10:41:24 +08:00
parent e5f0542436
commit 7b0ff75f5c
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ static const PinMap PinMap_PWM[] = {
void pwmout_init(pwmout_t* obj, PinName pin)
{
uint32_t peripheral;
int peripheral;
u32 pwm_idx;
u32 pin_sel;