summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/dev/app.c
blob: ce2cf058147656fa59824899e35db26a71099b88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdlib.h>
#include <stdint.h>

#include "eos.h"
#include "log.h"

#include "hpamp.h"
#include "app.h"

void eos_app_hp_change(int hp_det) {
    if (hp_det) {
        int rv;

        rv = eos_hpamp_init();
        if (rv) {
            EOS_LOG(EOS_LOG_ERR, "I2S HP CHANGE: PCM1770 INIT ERR:%d\n", rv);
            return;
        }
    }
}