mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
e5f0542436
commit
7b0ff75f5c
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue