Password via G-code and MarlinUI (#18399)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@ -3083,5 +3083,16 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
|
||||
#error "ESP3D_WIFISUPPORT or WIFISUPPORT requires an ESP32 controller."
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Sanity Check for Password Feature
|
||||
*/
|
||||
#if ENABLED(PASSWORD_FEATURE)
|
||||
#if NONE(HAS_LCD_MENU, PASSWORD_UNLOCK_GCODE, PASSWORD_CHANGE_GCODE)
|
||||
#error "Without PASSWORD_UNLOCK_GCODE, PASSWORD_CHANGE_GCODE, or a supported LCD there's no way to unlock the printer or set a password."
|
||||
#elif DISABLED(EEPROM_SETTINGS)
|
||||
#warning "PASSWORD_FEATURE settings will be lost on power-off without EEPROM_SETTINGS."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Misc. Cleanup
|
||||
#undef _TEST_PWM
|
||||
|
Reference in New Issue
Block a user