diff --git a/configs/freedom-kl25z/src/kl_adxl345.c b/configs/freedom-kl25z/src/kl_adxl345.c index 972fe98e26..999fff4b8a 100644 --- a/configs/freedom-kl25z/src/kl_adxl345.c +++ b/configs/freedom-kl25z/src/kl_adxl345.c @@ -45,7 +45,7 @@ #include #include -#include +#include #include @@ -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; - snvdbg("Saving handler %p\n", isr); + snvdbg("Saving handler %p\n", handler); DEBUGASSERT(priv); /* Just save the handler and its argument. We will use it when interrupts