pschatzmann / arduino-audiokit

Arduino ADF/Audiokit HAL (support for ESP32-A1S, AI-Thinker, LyraT for ES7148, ES7210, ES7243, ES8311, ES8347, ES8388, TAS5805M, AC101 audio chips)
GNU General Public License v3.0
157 stars 42 forks source link

Output example will not compile if board type is set to 6 #106

Closed rogerclarkmelbourne closed 1 year ago

rogerclarkmelbourne commented 1 year ago

Problem Description

Output example will not compile if board type is set to 6

Device Description

Not applicable (AI Thinker / clone from AliExpress)

Sketch

N/A  using your example unmodified

Other Steps to Reproduce

  1. Open the Output example from this repo
  2. Edit ArduinoKitSettings.h and define AUDIOKIT_BOARD 7
  3. Observe

Compile error

Arduino\libraries\arduino-audiokit\src/audio_hal/audio_hal.h:185:25: error: conflicting types for 'AUDIO_CODEC_ES8388_DEFAULT_HANDLE' extern audio_hal_func_t AUDIO_CODEC_ES8388_DEFAULT_HANDLE;

Provide your Version of the EP32 Arduino Core

2.0.13

I have checked existing issues, discussions and online documentation

pschatzmann commented 1 year ago

A correction has been committed.

rogerclarkmelbourne commented 1 year ago

Thanks. It compiles OK now