diff options
Diffstat (limited to 'fw/fe310/eos/dev/app.c')
-rw-r--r-- | fw/fe310/eos/dev/app.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/fw/fe310/eos/dev/app.c b/fw/fe310/eos/dev/app.c new file mode 100644 index 0000000..3c215f4 --- /dev/null +++ b/fw/fe310/eos/dev/app.c @@ -0,0 +1,25 @@ +#include <stdlib.h> +#include <stdint.h> + +#include "eos.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 + return; + } + } +} |