A few bugs/typos introduced with my last change

This commit is contained in:
Gregory Nutt 2014-12-16 12:33:41 -06:00
parent d818ab5e35
commit cb207d5298
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@
#include <errno.h> #include <errno.h>
#include <nuttx/spi/spi.h> #include <nuttx/spi/spi.h>
#include <nuttx/input/adxl345.h> #include <nuttx/sensors/adxl345.h>
#include <arch/irq.h> #include <arch/irq.h>
@ -183,7 +183,7 @@ static int adxl345_attach(FAR struct adxl345_config_s *state,
{ {
FAR struct kl_adxl345config_s *priv = (FAR struct kl_adxl345config_s *)state; FAR struct kl_adxl345config_s *priv = (FAR struct kl_adxl345config_s *)state;
snvdbg("Saving handler %p\n", isr); snvdbg("Saving handler %p\n", handler);
DEBUGASSERT(priv); DEBUGASSERT(priv);
/* Just save the handler and its argument. We will use it when interrupts /* Just save the handler and its argument. We will use it when interrupts