Skip to content

Conversation

@classicrocker883
Copy link
Contributor

@classicrocker883 classicrocker883 commented Dec 17, 2025

Description

More details will come later -
for now, this replaces Z_AFTER_PROBING from essentially an int to a bool

  • Add Voxelab Aquila (GD32F103RC) to tests
  • change platform / platform_packages which use less flash

Requirements

Benefits

Configurations

Added to Conditionals-3-etc.h #ifndef Z_AFTER_HOMING so that it is enabled automatically when UBL is enabled automatically - with conditions

Related Issues

before, in motion.cpp, probe.move_z_after_probing() in void do_move_after_z_homing() couldn't be used since Z_POST_CLEARANCE was always defined before. so it was moved ahead.

(original)

  void do_move_after_z_homing() {
    DEBUG_SECTION(mzah, "do_move_after_z_homing", DEBUGGING(LEVELING));
    #ifdef Z_POST_CLEARANCE
      do_z_clearance(
        Z_POST_CLEARANCE,
        ALL(HOMING_Z_WITH_PROBE, HAS_STOWABLE_PROBE) && TERN0(HAS_BED_PROBE, endstops.z_probe_enabled),
        true
      );
    #elif ENABLED(USE_PROBE_FOR_Z_HOMING)
      probe.move_z_after_probing();
    #endif
  }

@classicrocker883
Copy link
Contributor Author

These may or may not need to be enabled no matter what (as they were before):

[gcode/probe/G30.cpp‎]
[gcode/bedlevel/abl/G29.cpp]
[feature/bedlevel/ubl/ubl_G29.cpp‎]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant