1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-08-12 09:34:45 +02:00

DumpConfig - i2so section present only when USE_I2S_OUT

This commit is contained in:
Mitch Bradley
2021-07-10 06:43:00 -10:00
parent f1a3683400
commit 9d9eaa4489

View File

@@ -318,11 +318,13 @@ void print_stepping() {
} }
void print_i2so() { void print_i2so() {
#ifdef USE_I2S_OUT
section("i2so"); section("i2so");
item("bck", pinspec(I2S_OUT_BCK)); item("bck", pinspec(I2S_OUT_BCK));
item("data", pinspec(I2S_OUT_DATA)); item("data", pinspec(I2S_OUT_DATA));
item("ws", pinspec(I2S_OUT_WS)); item("ws", pinspec(I2S_OUT_WS));
end_section(); end_section();
#endif
} }
void print_spi() { void print_spi() {
section("spi"); section("spi");