Fix copy past type: xcptr_t -> xcpt_t

This commit is contained in:
Gregory Nutt 2017-02-27 15:00:42 -06:00
parent 2ef4433220
commit 80dba27434
4 changed files with 18 additions and 18 deletions

View File

@ -61,8 +61,8 @@
struct gpio_callback_s
{
xcptr_t callback;
void *arg;
xcpt_t callback;
void *arg;
};
/****************************************************************************

View File

@ -74,8 +74,8 @@
struct gpio_callback_s
{
xcptr_t callback;
void *arg;
xcpt_t callback;
void *arg;
};
/****************************************************************************
@ -106,8 +106,8 @@ static int stm32_exti0_isr(int irq, void *context)
if (g_gpio_callbacks[0].callback != NULL)
{
xcptr_t callback = g_gpio_callbacks[0].callback;
void *arg = g_gpio_callbacks[0].arg;
xcpt_t callback = g_gpio_callbacks[0].callback;
void *arg = g_gpio_callbacks[0].arg;
ret = callback(irq, context, arg);
}
@ -127,8 +127,8 @@ static int stm32_exti1_isr(int irq, void *context)
if (g_gpio_callbacks[1].callback != NULL)
{
xcptr_t callback = g_gpio_callbacks[1].callback;
void *arg = g_gpio_callbacks[1].arg;
xcpt_t callback = g_gpio_callbacks[1].callback;
void *arg = g_gpio_callbacks[1].arg;
ret = callback(irq, context, arg);
}
@ -148,8 +148,8 @@ static int stm32_exti2_isr(int irq, void *context)
if (g_gpio_callbacks[2].callback != NULL)
{
xcptr_t callback = g_gpio_callbacks[2].callback;
void *arg = g_gpio_callbacks[2].arg;
xcpt_t callback = g_gpio_callbacks[2].callback;
void *arg = g_gpio_callbacks[2].arg;
ret = callback(irq, context, arg);
}
@ -169,8 +169,8 @@ static int stm32_exti3_isr(int irq, void *context)
if (g_gpio_callbacks[3].callback != NULL)
{
xcptr_t callback = g_gpio_callbacks[3].callback;
void *arg = g_gpio_callbacks[3].arg;
xcpt_t callback = g_gpio_callbacks[3].callback;
void *arg = g_gpio_callbacks[3].arg;
ret = callback(irq, context, arg);
}
@ -190,8 +190,8 @@ static int stm32_exti4_isr(int irq, void *context)
if (g_gpio_callbacks[4].callback != NULL)
{
xcptr_t callback = g_gpio_callbacks[4].callback;
void *arg = g_gpio_callbacks[4].arg;
xcpt_t callback = g_gpio_callbacks[4].callback;
void *arg = g_gpio_callbacks[4].arg;
ret = callback(irq, context, arg);
}
@ -226,8 +226,8 @@ static int stm32_exti_multiisr(int irq, void *context, int first, int last)
if (g_gpio_callbacks[pin].callback != NULL)
{
xcptr_t callback = g_gpio_callbacks[pin].callback;
void *arg = g_gpio_callbacks[pin].arg;
xcpt_t callback = g_gpio_callbacks[pin].callback;
void *arg = g_gpio_callbacks[pin].arg;
int tmp;
tmp = callback(irq, context, arg);

View File

@ -53,7 +53,7 @@
struct comp_callback_s
{
xcptr_t callback;
xcpt_t callback;
void *arg;
};

View File

@ -61,7 +61,7 @@
struct gpio_callback_s
{
xcptr_t callback;
xcpt_t callback;
void *arg;
};