diff options
author | Uros Majstorovic <majstor@majstor.org> | 2025-02-16 20:17:07 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2025-02-16 20:17:07 +0100 |
commit | 2e17dd17ee9777084b2f211f08c4231dd5f8b906 (patch) | |
tree | f50ad99c62d81906082cbb28eb84d857ef7311c9 /fw/fe310/eos/dev/app.c | |
parent | 064631db87182694459056ceeb331506b553d0f0 (diff) |
extended gpio implemented
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; + } + } +} |