Skip to content

Commit b30610c

Browse files
authoredAug 4, 2024
Merge pull request #204 from TcMenu/main-esp-dac-check
#197 dac check improvement, use has include
2 parents cb9f59d + 760c4a7 commit b30610c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/esp32/ESP32AnalogDevice.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "ESP32AnalogDevice.h"
1111
#include "IoLogging.h"
1212
#include <SimpleCollections.h>
13-
#ifndef CONFIG_IDF_TARGET_ESP32S3
13+
#if __has_include(<driver/dac.h>)
1414
#include <driver/dac.h>
1515
#define ESP_HAS_DAC
1616
#else

0 commit comments

Comments
 (0)