mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
example/capture : fixed build warning
Signed-off-by: xucheng5 <xucheng5@xiaomi.com>
This commit is contained in:
parent
7251645685
commit
15edd28a69
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue