mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 02:17:37 +08:00
example/capture : fixed build warning
Signed-off-by: xucheng5 <xucheng5@xiaomi.com>
This commit is contained in:
@@ -269,7 +269,7 @@ int main(int argc, FAR char *argv[])
|
|||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("pwm duty cycle: %d % \n", dutycycle);
|
printf("pwm duty cycle: %d %% \n", dutycycle);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get the frequence data using the ioctl */
|
/* Get the frequence data using the ioctl */
|
||||||
@@ -287,7 +287,7 @@ int main(int argc, FAR char *argv[])
|
|||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("pwm frequence: %d Hz \n", frequence);
|
printf("pwm frequence: %"PRId32" Hz \n", frequence);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Delay a little bit */
|
/* Delay a little bit */
|
||||||
|
Reference in New Issue
Block a user