瀏覽代碼

fix I2S build default DAC config

Philippe G 4 年之前
父節點
當前提交
e816e011b1
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. 3 3
      build-scripts/I2S-4MFlash-sdkconfig.defaults
  2. 3 3
      main/Kconfig.projbuild

+ 3 - 3
build-scripts/I2S-4MFlash-sdkconfig.defaults

@@ -24,9 +24,9 @@ CONFIG_SPKFAULT_GPIO_LEVEL=0
 CONFIG_BAT_CHANNEL=-1
 CONFIG_BAT_SCALE="0"
 CONFIG_I2S_NUM=0
-CONFIG_I2S_BCK_IO=33
-CONFIG_I2S_WS_IO=25
-CONFIG_I2S_DO_IO=32
+CONFIG_I2S_BCK_IO=-1
+CONFIG_I2S_WS_IO=-1
+CONFIG_I2S_DO_IO=-1
 CONFIG_I2S_DI_IO=-1
 CONFIG_SPDIF_NUM=0
 CONFIG_SPDIF_BCK_IO=-1

+ 3 - 3
main/Kconfig.projbuild

@@ -97,17 +97,17 @@ menu "Squeezelite-ESP32"
 						I2S dma channel to use.  
 				config I2S_BCK_IO         
 					int "I2S Bit clock GPIO number. "
-					default 33 
+					default -1 
 					help
 						I2S Bit Clock gpio pin to use.  
 				config I2S_WS_IO         
 					int "I2S Word Select GPIO number. "
-					default 25 
+					default -1 
 					help
 						I2S Word Select gpio pin to use.
 				config I2S_DO_IO         
 					int "I2S Data Output GPIO number. "
-					default 32
+					default -1
 					help
 						I2S data output gpio pin to use.
 				config I2S_DI_IO