-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
PFW-1525 Add Set Ready
menu
#4429
PFW-1525 Add Set Ready
menu
#4429
Conversation
All values in bytes. Δ Delta to base
|
3eafd93
to
c03b011
Compare
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.
- please don't add new extern variables
- I'm not sure about using M862.7 for querying the state, I'd advise using
M72 Q
for reporting the state
other than that, this PR looks ok
c03b011
to
a65f8b1
Compare
@gudnimg please review again |
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.
I find the new print states a bit questionable since they are not used everywhere for example card.sdprinting
is still being used.
But I will approve the PR continue working on this with new PRs.
@3d-gussner Looking at the translation PR, it seems |
The state can be checked with M72 without parameters. |
f4b3a9a
to
685bf14
Compare
@@ -5191,7 +5206,13 @@ static void lcd_main_menu() | |||
} else if (!Stopped) { | |||
MENU_ITEM_SUBMENU_P(_i("Preheat"), lcd_preheat_menu);////MSG_PREHEAT c=18 | |||
} | |||
|
|||
if (GetPrinterState() < PrinterState::IsSDPrinting && M79_timer_get_status()) { |
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.
Based on this statement, the order / numerical values of PrinterState members is important. A big warning should be added to the structure so that no one tries to reorder the items arbitrarily.
…rial Host has to send back state with `M72 S1|0` to keep printer and host in sync Changed LCD menu messages to `Set ready` and `Set not ready` Updated translations
… LcdCommands::Idle;`
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.
just document the importance of PrinterState items' ordering, otherwise ok
Add documentation Whitespace
d11cf0c
to
02459ed
Compare
Translation in 2nd part to prevent conflicts with other PRs
Menu
Set Ready
Shown
Hidden
When menu selected a serial message
// action:printer_ready
is sent and Menu is hidden ✔️Set Ready
via gcodeM72 S[1|0]
from PrusaConnect or PrusaLinkUpdate RepRap Wiki
M72