Skip to content

Commit 2f0eb1f

Browse files
MarP13nfbot
andauthored
Recovering lost code getting I2S pin mapping on ESP32 (#3210)
Co-authored-by: nfbot <[email protected]>
1 parent a500b26 commit 2f0eb1f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

targets/ESP32/_common/DeviceMapping_common.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ int Esp32_GetMappedDevicePins(Esp32_MapDeviceType deviceType, int busIndex, int
6161
case DEV_TYPE_SDMMC:
6262
return (int)Esp32_SDMMC_DevicePinMap[busIndex][pinIndex];
6363
#endif
64+
case DEV_TYPE_I2S:
65+
return (int)Esp32_I2S_DevicePinMap[busIndex][pinIndex];
66+
6467
default:
6568
break;
6669
};

0 commit comments

Comments
 (0)