summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/dev/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/dev/app.c')
-rw-r--r--fw/fe310/eos/dev/app.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/fw/fe310/eos/dev/app.c b/fw/fe310/eos/dev/app.c
index 3c215f4..ce2cf05 100644
--- a/fw/fe310/eos/dev/app.c
+++ b/fw/fe310/eos/dev/app.c
@@ -2,23 +2,18 @@
#include <stdint.h>
#include "eos.h"
+#include "log.h"
#include "hpamp.h"
#include "app.h"
-#ifdef EOS_DEBUG
-#include <stdio.h>
-#endif
-
void eos_app_hp_change(int hp_det) {
if (hp_det) {
int rv;
rv = eos_hpamp_init();
if (rv) {
-#ifdef EOS_DEBUG
- printf("I2S HP CHANGE: PCM1770 INIT ERR:%d\n", rv);
-#endif
+ EOS_LOG(EOS_LOG_ERR, "I2S HP CHANGE: PCM1770 INIT ERR:%d\n", rv);
return;
}
}