mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
Update pin type
This commit is contained in:
parent
e1064101a6
commit
f491a86064
@ -2,6 +2,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <tactility/drivers/i2s_controller.h>
|
||||
#include <tactility/drivers/gpio.h>
|
||||
#include <driver/i2s_common.h>
|
||||
|
||||
#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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user