diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-12-16 13:50:58 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-12-16 13:50:58 -0600 |
commit | 2086079997581798df4b8e6435e4fc9a73769804 (patch) | |
tree | 207206a794d9c2d11899e3fd4ee78d8e9b5c3945 | |
parent | af4503e1678beab578f0bcc4f75c0f18262a70f7 (diff) | |
download | nuttx-2086079997581798df4b8e6435e4fc9a73769804.tar.gz nuttx-2086079997581798df4b8e6435e4fc9a73769804.tar.bz2 nuttx-2086079997581798df4b8e6435e4fc9a73769804.zip |
Fix some typos ADXL (adxl) vs ADX1 (adx1)
-rw-r--r-- | nuttx/configs/freedom-kl25z/src/kl_adxl345.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/configs/freedom-kl25z/src/kl_adxl345.c b/nuttx/configs/freedom-kl25z/src/kl_adxl345.c index 999fff4b8..518ee5be4 100644 --- a/nuttx/configs/freedom-kl25z/src/kl_adxl345.c +++ b/nuttx/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; } } |