Skip to content

Commit be3671f

Browse files
removed the SOC_DAC_SUPPORTED guard
1 parent 6f4f57e commit be3671f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ports/espressif/common-hal/audioio/AudioOut.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@
99
#include "shared-bindings/microcontroller/Pin.h"
1010
#include "shared-module/audiocore/__init__.h"
1111

12-
13-
#ifdef SOC_DAC_SUPPORTED
14-
1512
#include "driver/dac_continuous.h"
1613

14+
1715
#if defined(CONFIG_IDF_TARGET_ESP32)
1816
#define pin_CHANNEL_0 pin_GPIO25
1917
#define pin_CHANNEL_1 pin_GPIO26
@@ -557,5 +555,3 @@ void common_hal_audioio_audioout_stop(audioio_audioout_obj_t *self) {
557555
bool common_hal_audioio_audioout_get_playing(audioio_audioout_obj_t *self) {
558556
return self->playing && !self->paused;
559557
}
560-
561-
#endif

0 commit comments

Comments
 (0)