Skip to content

Change to NAN flag for no rotary axis #18

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

engigeer
Copy link
Contributor

@engigeer engigeer commented May 4, 2025

Summary of Changes:

  • update flag for no rotary axis to NAN (per request from previous PR)
  • remove conditions for sending status_packet to ensure controller receives response from all keypress events

@@ -97,7 +98,7 @@ static void send_status_info (void *data)

status_packet.feed_rate = st_get_realtime_rate();

if(msgtype || memcmp(&prev_status, &status_packet, offsetof(machine_status_packet_t, msgtype))) {
if(true) {//msgtype || memcmp(&prev_status, &status_packet, offsetof(machine_status_packet_t, msgtype))) {
Copy link
Contributor Author

@engigeer engigeer May 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to get your thoughts on this change to ensure the status message is sent even if the status_packet is unchanged. The rationale is that some commands from the controller do not change the status packet, (e.g., macro keys), but the controller firmware expects a response packet after each keypress.

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