ESP32: i2s_init requires I2S_STEPPER_STREAM
This commit is contained in:
		@@ -42,12 +42,10 @@
 | 
			
		||||
//
 | 
			
		||||
// Disable I2S stepper stream
 | 
			
		||||
//
 | 
			
		||||
#ifdef I2S_STEPPER_STREAM
 | 
			
		||||
  #undef I2S_STEPPER_STREAM
 | 
			
		||||
#endif
 | 
			
		||||
#define I2S_WS                                -1
 | 
			
		||||
#define I2S_BCK                               -1
 | 
			
		||||
#define I2S_DATA                              -1
 | 
			
		||||
#undef I2S_STEPPER_STREAM
 | 
			
		||||
#undef I2S_WS
 | 
			
		||||
#undef I2S_BCK
 | 
			
		||||
#undef I2S_DATA
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Limit Switches
 | 
			
		||||
 
 | 
			
		||||
@@ -52,12 +52,10 @@
 | 
			
		||||
//
 | 
			
		||||
#undef I2S_STEPPER_STREAM
 | 
			
		||||
#define I2S_STEPPER_STREAM
 | 
			
		||||
 | 
			
		||||
#undef LIN_ADVANCE                                // Currently, I2S stream does not work with linear advance
 | 
			
		||||
 | 
			
		||||
#define I2S_WS                                26
 | 
			
		||||
#define I2S_BCK                               25
 | 
			
		||||
#define I2S_DATA                              27
 | 
			
		||||
#undef LIN_ADVANCE                                // Currently, I2S stream does not work with linear advance
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Steppers
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user