Interrupt argument bugfixes

This commit is contained in:
Gregory Nutt 2017-02-27 15:22:35 -06:00
parent 80dba27434
commit 95856946d2
4 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@
struct comp_callback_s struct comp_callback_s
{ {
xcpt_t callback; xcpt_t callback;
void *arg; void *arg;
}; };
/**************************************************************************** /****************************************************************************

View File

@ -62,7 +62,7 @@
struct gpio_callback_s struct gpio_callback_s
{ {
xcpt_t callback; xcpt_t callback;
void *arg; void *arg;
}; };
/**************************************************************************** /****************************************************************************

View File

@ -66,7 +66,7 @@
/* Interrupt handlers attached to the PVD EXTI */ /* Interrupt handlers attached to the PVD EXTI */
static xcpt_t g_pvd_callback; static xcpt_t g_pvd_callback;
static void *g_callback_arg static void *g_callback_arg;
/**************************************************************************** /****************************************************************************
* Public Data * Public Data

View File

@ -801,7 +801,7 @@ static inline void rtc_enable_alarm(void)
* 3. Configure the RTC to generate RTC alarms (Alarm A or Alarm B). * 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; g_alarm_enabled = true;
} }
} }