mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +03:00
support for c3 and s3 channel restrictions
This commit is contained in:
@@ -13,11 +13,15 @@
|
||||
#define I2C_SYSTEM_PORT 1
|
||||
#define SPI_SYSTEM_HOST SPI2_HOST
|
||||
|
||||
#define RMT_NEXT_TX_CHANNEL rmt_system_base_tx_channel++;
|
||||
#define RMT_NEXT_RX_CHANNEL rmt_system_base_rx_channel--;
|
||||
|
||||
extern int i2c_system_port;
|
||||
extern int i2c_system_speed;
|
||||
extern int spi_system_host;
|
||||
extern int spi_system_dc_gpio;
|
||||
extern int rmt_system_base_channel;
|
||||
extern int rmt_system_base_tx_channel;
|
||||
extern int rmt_system_base_rx_channel;
|
||||
typedef struct {
|
||||
int timer, base_channel, max;
|
||||
} pwm_system_t;
|
||||
|
||||
Reference in New Issue
Block a user