Interrupt argument bugfixes
This commit is contained in:
parent
80dba27434
commit
95856946d2
@ -54,7 +54,7 @@
|
||||
struct comp_callback_s
|
||||
{
|
||||
xcpt_t callback;
|
||||
void *arg;
|
||||
void *arg;
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -62,7 +62,7 @@
|
||||
struct gpio_callback_s
|
||||
{
|
||||
xcpt_t callback;
|
||||
void *arg;
|
||||
void *arg;
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -66,7 +66,7 @@
|
||||
/* Interrupt handlers attached to the PVD EXTI */
|
||||
|
||||
static xcpt_t g_pvd_callback;
|
||||
static void *g_callback_arg
|
||||
static void *g_callback_arg;
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
|
@ -801,7 +801,7 @@ static inline void rtc_enable_alarm(void)
|
||||
* 3. Configure the RTC to generate RTC alarms (Alarm A or Alarm B).
|
||||
*/
|
||||
|
||||
stm32l4_exti_alarm(true, false, true, stm32l4_rtc_alarm_handler);
|
||||
stm32l4_exti_alarm(true, false, true, stm32l4_rtc_alarm_handler, NULL);
|
||||
g_alarm_enabled = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user