mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 05:27:01 +03:00
initial refactoring
This commit is contained in:
@@ -12,11 +12,11 @@
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "driver/i2s.h"
|
||||
#include "driver/i2c.h"
|
||||
|
||||
#include "Configurator.h"
|
||||
typedef enum { ADAC_ON = 0, ADAC_STANDBY, ADAC_OFF } adac_power_e;
|
||||
|
||||
struct adac_s {
|
||||
char *model;
|
||||
sys_DACModelEnum model;
|
||||
bool (*init)(char *config, int i2c_port_num, i2s_config_t *i2s_config, bool *mck);
|
||||
void (*deinit)(void);
|
||||
void (*power)(adac_power_e mode);
|
||||
|
||||
Reference in New Issue
Block a user