Skip to content

Commit 7b0ff75

Browse files
committed
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 <[email protected]>
1 parent e5f0542 commit 7b0ff75

File tree

1 file changed

+1
-1
lines changed
  • targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A

1 file changed

+1
-1
lines changed

targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/pwmout_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ static const PinMap PinMap_PWM[] = {
5353

5454
void pwmout_init(pwmout_t* obj, PinName pin)
5555
{
56-
uint32_t peripheral;
56+
int peripheral;
5757
u32 pwm_idx;
5858
u32 pin_sel;
5959

0 commit comments

Comments
 (0)