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:
Abdelatif Guettouche 2021-09-27 14:06:48 +02:00 committed by Xiang Xiao
parent 9e1d2ca95e
commit 591c1563b8

View File

@ -56,12 +56,12 @@ struct esp32_oneshot_lowerhalf_s
* That means, opaque pointers.
*/
struct oneshot_lowerhalf_s lh; /* Lower half instance */
struct esp32_oneshot_s oneshot; /* ESP32-specific oneshot state */
oneshot_callback_t callback; /* Upper half Interrupt callback */
void *arg; /* Argument passed to handler */
uint16_t resolution;
spinlock_t lock; /* Device specific lock */
struct oneshot_lowerhalf_s lh; /* Lower half instance */
struct esp32_oneshot_s oneshot; /* ESP32-specific oneshot state */
oneshot_callback_t callback; /* Upper half Interrupt callback */
void *arg; /* Argument passed to handler */
uint16_t resolution; /* Timer's resulation in uS */
spinlock_t lock; /* Device specific lock */
};
/****************************************************************************