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,7 +61,7 @@
struct gpio_callback_s
{
xcptr_t callback;
xcpt_t callback;
void *arg;
};

View File

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

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;
};