You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by bt...@apache.org on 2020/09/09 15:34:35 UTC

[incubator-nuttx] branch master updated: Update tiva_timerlow32.c

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 20c5c57  Update tiva_timerlow32.c
20c5c57 is described below

commit 20c5c57cf6ce7102593e84eb863bc99e80f1589b
Author: barbiani <ba...@gmail.com>
AuthorDate: Sat Sep 5 13:06:53 2020 -0300

    Update tiva_timerlow32.c
    
    Missing callback argument field.
---
 arch/arm/src/tiva/common/tiva_timerlow32.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/src/tiva/common/tiva_timerlow32.c b/arch/arm/src/tiva/common/tiva_timerlow32.c
index a05d351..3e7fb06 100644
--- a/arch/arm/src/tiva/common/tiva_timerlow32.c
+++ b/arch/arm/src/tiva/common/tiva_timerlow32.c
@@ -72,6 +72,7 @@ struct tiva_lowerhalf_s
   struct tiva_gptm32config_s config; /* Persistent timer configuration */
   TIMER_HANDLE handle;               /* Contained timer handle */
   tccb_t callback;                   /* Current user interrupt callback */
+  void *arg;                         /* Callback argument */
   uint32_t clkin;                    /* Input clock frequency */
   uint32_t timeout;                  /* The current timeout value (us) */
   uint32_t clkticks;                 /* Actual clock ticks for current