From f491a86064166d95b2e14058382bae06b7883ae7 Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Tue, 10 Feb 2026 21:26:26 +0100 Subject: [PATCH] Update pin type --- .../Include/tactility/drivers/esp32_i2s.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Platforms/PlatformEsp32/Include/tactility/drivers/esp32_i2s.h b/Platforms/PlatformEsp32/Include/tactility/drivers/esp32_i2s.h index ee0682e3..e47a1373 100644 --- a/Platforms/PlatformEsp32/Include/tactility/drivers/esp32_i2s.h +++ b/Platforms/PlatformEsp32/Include/tactility/drivers/esp32_i2s.h @@ -2,6 +2,7 @@ #pragma once #include +#include #include #ifdef __cplusplus @@ -10,11 +11,11 @@ extern "C" { struct Esp32I2sConfig { i2s_port_t port; - int pin_bclk; - int pin_ws; - int pin_data_out; - int pin_data_in; - int pin_mclk; + gpio_pin_t pin_bclk; + gpio_pin_t pin_ws; + gpio_pin_t pin_data_out; + gpio_pin_t pin_data_in; + gpio_pin_t pin_mclk; }; #ifdef __cplusplus