You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/01/20 07:39:54 UTC

[nuttx] branch master updated: esp32: fix lower half oneshot for usage with nxsched_oneshot_start

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 57034f483d esp32: fix lower half oneshot for usage with nxsched_oneshot_start
57034f483d is described below

commit 57034f483d7f73cea0887056b07131aeb6c3696e
Author: Max Kriegleder <ma...@gmail.com>
AuthorDate: Fri Jan 20 00:20:18 2023 +0100

    esp32: fix lower half oneshot for usage with nxsched_oneshot_start
---
 arch/xtensa/src/esp32/esp32_oneshot_lowerhalf.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/xtensa/src/esp32/esp32_oneshot_lowerhalf.c b/arch/xtensa/src/esp32/esp32_oneshot_lowerhalf.c
index 8a73d4607a..0ee5e418f9 100644
--- a/arch/xtensa/src/esp32/esp32_oneshot_lowerhalf.c
+++ b/arch/xtensa/src/esp32/esp32_oneshot_lowerhalf.c
@@ -211,7 +211,6 @@ static int esp32_lh_start(struct oneshot_lowerhalf_s *lower,
 
   DEBUGASSERT(priv != NULL);
   DEBUGASSERT(callback != NULL);
-  DEBUGASSERT(arg != NULL);
   DEBUGASSERT(ts != NULL);
 
   /* Save the callback information and start the timer */