-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Update INITIALIZE_PA_TUNING macro #72
Conversation
Added else statement to tell users what they did wrong.
WalkthroughThe change introduces an additional conditional branch into the Changes
Sequence Diagram(s)sequenceDiagram
participant P as Printer
participant M as INITIALIZE_PA_TUNING Macro
P->>M: Invoke INITIALIZE_PA_TUNING
alt Conditions met (active printing & layer 1)
M->>P: Start pressure advance tuning tower
else Conditions not met
M->>P: Output error message ("Requires active printing on layer 1")
end
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
configuration/macros/calibration.cfg (1)
87-88
: Good addition for better error handling!This else clause provides helpful feedback to users when they try to initialize pressure advance tuning under incorrect conditions. This improves the user experience by clearly explaining the requirements.
However, there's a minor typo in the message: "presssure" has three 's' characters instead of two. The same typo exists in the original message on line 85 as well.
- RATOS_ECHO MSG="Presssure advance tuning tower requires you to be printing gcode and on layer 1 to start." + RATOS_ECHO MSG="Pressure advance tuning tower requires you to be printing gcode and on layer 1 to start."
Hahahaha, this bot is awesome |
Added else statement to tell users what they did wrong.
Summary by CodeRabbit