We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03c8ded commit bb62c4aCopy full SHA for bb62c4a
src/Driver.h
@@ -607,6 +607,12 @@ class AudioDriverES8388Class : public AudioDriver {
607
return es8388_init(&codec_cfg, i2c.value().p_wire) == RESULT_OK;
608
}
609
bool deinit() { return es8388_deinit() == RESULT_OK; }
610
+ bool controlState(codec_mode_t mode) {
611
+ return es8388_ctrl_state_active(mode, true) == RESULT_OK;
612
+ }
613
+ bool configInterface(codec_mode_t mode, I2SDefinition iface) {
614
+ return es8388_config_i2s(mode, &iface) == RESULT_OK;
615
616
};
617
618
/**
0 commit comments