mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
esp32_oneshot_lowerhalf.c: Use the same alignment as the rest of the
code base. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
9e1d2ca95e
commit
591c1563b8
@@ -56,12 +56,12 @@ struct esp32_oneshot_lowerhalf_s
|
|||||||
* That means, opaque pointers.
|
* That means, opaque pointers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct oneshot_lowerhalf_s lh; /* Lower half instance */
|
struct oneshot_lowerhalf_s lh; /* Lower half instance */
|
||||||
struct esp32_oneshot_s oneshot; /* ESP32-specific oneshot state */
|
struct esp32_oneshot_s oneshot; /* ESP32-specific oneshot state */
|
||||||
oneshot_callback_t callback; /* Upper half Interrupt callback */
|
oneshot_callback_t callback; /* Upper half Interrupt callback */
|
||||||
void *arg; /* Argument passed to handler */
|
void *arg; /* Argument passed to handler */
|
||||||
uint16_t resolution;
|
uint16_t resolution; /* Timer's resulation in uS */
|
||||||
spinlock_t lock; /* Device specific lock */
|
spinlock_t lock; /* Device specific lock */
|
||||||
};
|
};
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user