Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Repeat get functions, fixes issue 26357 #26367

Merged
merged 4 commits into from
Nov 12, 2023

Conversation

ellensp
Copy link
Contributor

@ellensp ellensp commented Oct 23, 2023

Description

#define GCODE_REPEAT_MARKERS
with
#define DEBUG_POWER_LOSS_RECOVERY

Fails to compile as DEBUG_POWER_LOSS_RECOVERY attempts to display private variables in class Repeat

Added get functions to return the private variables

Requirements

In Config enable
#define SDSUPPORT
#define POWER_LOSS_RECOVERY
#define GCODE_REPEAT_MARKERS // Enable G-code M808 to set repeat markers and do looping

In powerloss.h enable
#define DEBUG_POWER_LOSS_RECOVERY

Benefits

Builds as expected

Configurations

See Requirements

Related Issues

#26357

@thinkyhead thinkyhead merged commit 7c8ea8e into MarlinFirmware:bugfix-2.1.x Nov 12, 2023
59 checks passed
@ellensp ellensp deleted the issue-26357 branch November 12, 2023 02:11
eoyilmaz pushed a commit to eoyilmaz/Marlin that referenced this pull request Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants