Browse Source

🚸 Sanity check Integrated Babystepping + I2S stream + ESP32 (#24691)

Eduard Sukharev 1 year ago
parent
commit
e003552804
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/src/HAL/ESP32/inc/SanityCheck.h

+ 4
- 0
Marlin/src/HAL/ESP32/inc/SanityCheck.h View File

45
   #error "FAST_PWM_FAN is not available on TinyBee."
45
   #error "FAST_PWM_FAN is not available on TinyBee."
46
 #endif
46
 #endif
47
 
47
 
48
+#if BOTH(I2S_STEPPER_STREAM, BABYSTEPPING) && DISABLED(INTEGRATED_BABYSTEPPING)
49
+  #error "BABYSTEPPING on I2S stream requires INTEGRATED_BABYSTEPPING."
50
+#endif
51
+
48
 #if USING_PULLDOWNS
52
 #if USING_PULLDOWNS
49
   #error "PULLDOWN pin mode is not available on ESP32 boards."
53
   #error "PULLDOWN pin mode is not available on ESP32 boards."
50
 #endif
54
 #endif

Loading…
Cancel
Save