aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2021-09-10 15:16:16 +0100
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2021-09-10 15:16:16 +0100
commitaae55e9e6e0fdafae874396969a9a92a746527e2 (patch)
tree8370c5bd9b9e48a2d4e04bee0b1738739f880ce0
parentb7ddae774e1a3aff93de2b90ec59efd90ed446e6 (diff)
Crank it baby.
-rw-r--r--esp32_i2s_parallel_v2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/esp32_i2s_parallel_v2.c b/esp32_i2s_parallel_v2.c
index 8bf421f..b8ec4e3 100644
--- a/esp32_i2s_parallel_v2.c
+++ b/esp32_i2s_parallel_v2.c
@@ -77,6 +77,10 @@ static void iomux_set_signal(int gpio, int signal) {
PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[gpio], PIN_FUNC_GPIO);
gpio_set_direction(gpio, GPIO_MODE_DEF_OUTPUT);
gpio_matrix_out(gpio, signal, false, false);
+
+ // More mA the better...
+ gpio_set_drive_capability((gpio_num_t)gpio, GPIO_DRIVE_CAP_MAX);
+
}
static void dma_reset(i2s_dev_t* dev) {