add "power" gpio

This commit is contained in:
philippe44
2023-09-12 15:03:58 -07:00
parent d53ae66547
commit b3ee25e3be
7 changed files with 86 additions and 8 deletions

View File

@@ -441,6 +441,10 @@ static void process_aude(u8_t *pkt, int len) {
struct aude_packet *aude = (struct aude_packet *)pkt;
LOG_DEBUG("enable spdif: %d dac: %d", aude->enable_spdif, aude->enable_dac);
#if EMBEDDED
powering(aude->enable_spdif),
#endif
LOCK_O;
if (!aude->enable_spdif && output.state != OUTPUT_OFF) {