mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 05:48:43 +00:00
🔧 Check Chiron LCD requirements (#23353)
Co-Authored-By: EvilGremlin <22657714+EvilGremlin@users.noreply.github.com>
This commit is contained in:
parent
58c84f17ba
commit
c9561a8826
@ -2765,6 +2765,20 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
||||
#error "Please select only one of CHIRON_TFT_STANDARD or CHIRON_TFT_NEW."
|
||||
#endif
|
||||
|
||||
#if ENABLED(ANYCUBIC_LCD_CHIRON)
|
||||
#if !defined(BEEPER_PIN)
|
||||
#error "ANYCUBIC_LCD_CHIRON requires BEEPER_PIN"
|
||||
#elif DISABLED(SDSUPPORT)
|
||||
#error "ANYCUBIC_LCD_CHIRON requires SDSUPPORT"
|
||||
#elif TEMP_SENSOR_BED == 0
|
||||
#error "ANYCUBIC_LCD_CHIRON requires heatbed (TEMP_SENSOR_BED)"
|
||||
#elif NONE(AUTO_BED_LEVELING_BILINEAR, AUTO_BED_LEVELING_UBL, MESH_BED_LEVELING)
|
||||
#error "ANYCUBIC_LCD_CHIRON requires one of: AUTO_BED_LEVELING_BILINEAR, AUTO_BED_LEVELING_UBL or MESH_BED_LEVELING"
|
||||
#elif DISABLED(BABYSTEPPING)
|
||||
#error "ANYCUBIC_LCD_CHIRON requires BABYSTEPPING"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if EITHER(MKS_TS35_V2_0, BTT_TFT35_SPI_V1_0) && SD_CONNECTION_IS(LCD)
|
||||
#error "SDCARD_CONNECTION cannot be set to LCD for the enabled TFT. No available SD card reader."
|
||||
#endif
|
||||
|
@ -243,7 +243,7 @@ void ChironTFT::StatusChange(const char * const msg) {
|
||||
case AC_printer_probing: {
|
||||
// If probing completes ok save the mesh and park
|
||||
// Ignore the custom machine name
|
||||
if (strcmp_P(msg + strlen(CUSTOM_MACHINE_NAME), MARLIN_msg_ready) == 0) {
|
||||
if (strcmp_P(msg + strlen(MACHINE_NAME), MARLIN_msg_ready) == 0) {
|
||||
injectCommands(F("M500\nG27"));
|
||||
SendtoTFTLN(AC_msg_probing_complete);
|
||||
printer_state = AC_printer_idle;
|
||||
|
@ -69,8 +69,8 @@ void AboutScreen::onRedraw(draw_mode_t) {
|
||||
#endif
|
||||
|
||||
draw_text_box(cmd, HEADING_POS,
|
||||
#ifdef CUSTOM_MACHINE_NAME
|
||||
F(CUSTOM_MACHINE_NAME)
|
||||
#ifdef MACHINE_NAME
|
||||
F(MACHINE_NAME)
|
||||
#else
|
||||
GET_TEXT_F(MSG_ABOUT_TOUCH_PANEL_1)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user