example/capture : fixed build warning
Signed-off-by: xucheng5 <xucheng5@xiaomi.com>
This commit is contained in:
parent
7251645685
commit
15edd28a69
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user