You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2024/06/29 14:08:19 UTC
(nuttx-apps) branch master updated: oneshot/oneshot_main.c: fix printf warning
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 097ed5c27 oneshot/oneshot_main.c: fix printf warning
097ed5c27 is described below
commit 097ed5c27d458317a5586f1d20d6960e627c3758
Author: p-szafonimateusz <p-...@xiaomi.com>
AuthorDate: Fri Jun 28 18:53:45 2024 +0200
oneshot/oneshot_main.c: fix printf warning
fix printf warning in examples/oneshot
Signed-off-by: p-szafonimateusz <p-...@xiaomi.com>
---
examples/oneshot/oneshot_main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/oneshot/oneshot_main.c b/examples/oneshot/oneshot_main.c
index 155b3e18e..c78975d1f 100644
--- a/examples/oneshot/oneshot_main.c
+++ b/examples/oneshot/oneshot_main.c
@@ -208,8 +208,8 @@ int main(int argc, FAR char *argv[])
{
/* Wait for the maximum */
- printf("Starting oneshot timer with delay %llu microseconds\n",
- maxus);
+ printf("Starting oneshot timer with delay %" PRId64
+ " microseconds\n", maxus);
start.ts.tv_sec = ts.tv_sec;
start.ts.tv_nsec = ts.tv_nsec;