example/capture : fixed build warning

Signed-off-by: xucheng5 <xucheng5@xiaomi.com>
This commit is contained in:
xucheng5 2023-08-16 20:16:54 +08:00 committed by Xiang Xiao
parent 7251645685
commit 15edd28a69

View File

@ -269,7 +269,7 @@ int main(int argc, FAR char *argv[])
else
{
printf("pwm duty cycle: %d % \n", dutycycle);
printf("pwm duty cycle: %d %% \n", dutycycle);
}
/* Get the frequence data using the ioctl */
@ -287,7 +287,7 @@ int main(int argc, FAR char *argv[])
else
{
printf("pwm frequence: %d Hz \n", frequence);
printf("pwm frequence: %"PRId32" Hz \n", frequence);
}
/* Delay a little bit */