Fix sanitycheck for laser PINS

parent e2a5b4ce
...@@ -1822,11 +1822,11 @@ ...@@ -1822,11 +1822,11 @@
#error DEPENDENCY ERROR: You have to set LASER_CONTROL to 1 or 2 #error DEPENDENCY ERROR: You have to set LASER_CONTROL to 1 or 2
#else #else
#if(LASER_CONTROL == 1) #if(LASER_CONTROL == 1)
#if( !PIN_EXISTS(LASER_FIRING_PIN)) #if( !PIN_EXISTS(LASER_FIRING))
#error DEPENDENCY ERROR: You have to set LASER_FIRING_PIN #error DEPENDENCY ERROR: You have to set LASER_FIRING_PIN
#endif #endif
#else #else
#if( !PIN_EXISTS(LASER_FIRING_PIN) || !PIN_EXISTS(LASER_INTENSITY_PIN)) #if( !PIN_EXISTS(LASER_FIRING) || !PIN_EXISTS(LASER_INTENSITY))
#error DEPENDENCY ERROR: You have to set LASER_FIRING_PIN and LASER_INTENSITY_PIN to a valid pin if you enable LASER #error DEPENDENCY ERROR: You have to set LASER_FIRING_PIN and LASER_INTENSITY_PIN to a valid pin if you enable LASER
#endif #endif
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment