We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a26713 commit 04ca2d4Copy full SHA for 04ca2d4
src/DriverCommon.h
@@ -25,7 +25,7 @@ namespace audio_driver {
25
#endif
26
27
typedef int error_t;
28
-#ifdef ARDUINO && !AUDIO_DRIVER_FORCE_IDF
+#if defined(ARDUINO) && !AUDIO_DRIVER_FORCE_IDF
29
typedef Wire *i2c_bus_handle_t;
30
typedef SPIClass *spi_bus_handle_t;
31
#else
0 commit comments