From 79b736d43a4babfba7b20069057d37c99c55c5ad Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 16 Dec 2014 13:50:58 -0600 Subject: [PATCH] Fix some typos ADXL (adxl) vs ADX1 (adx1) --- configs/freedom-kl25z/src/kl_adxl345.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/freedom-kl25z/src/kl_adxl345.c b/configs/freedom-kl25z/src/kl_adxl345.c index 999fff4b8a..518ee5be4c 100644 --- a/configs/freedom-kl25z/src/kl_adxl345.c +++ b/configs/freedom-kl25z/src/kl_adxl345.c @@ -153,9 +153,9 @@ static struct kl_adxl345config_s g_adxl345config = /**************************************************************************** * Private Functions ****************************************************************************/ -/* This is the ADX1345 Interupt handler */ +/* This is the ADXL345 Interupt handler */ -int adx1345_interrupt(int irq, FAR void *context) +int adxl345_interrupt(int irq, FAR void *context) { /* Verify that we have a handler attached */ @@ -211,7 +211,7 @@ static void adxl345_enable(FAR struct adxl345_config_s *state, bool enable) /* Configure the interrupt using the SAVED handler */ kl_configgpio(GPIO_ADXL345_INT1); - (void)kl_gpioirqattach(GPIO_ADXL345_INT1, adx1345_interrupt); + (void)kl_gpioirqattach(GPIO_ADXL345_INT1, adxl345_interrupt); kl_gpioirqenable(GPIO_ADXL345_INT1); } else @@ -294,7 +294,7 @@ int adxl345_archinitialize(int minor) ret = adxl345_register(g_adxl345config.handle, CONFIG_ADXL345_DEVMINOR); if (ret < 0) { - sndbg("Failed to register ADX1345 driver: %d\n", ret); + sndbg("Failed to register ADXL345 driver: %d\n", ret); return ret; } }