Skip to content

Mueller sprayer Master switch didn't disable painting#41

Open
gunicsba wants to merge 2 commits intoAgOpenGPS-Official:developfrom
gunicsba:muller_sprayer_masterswitch
Open

Mueller sprayer Master switch didn't disable painting#41
gunicsba wants to merge 2 commits intoAgOpenGPS-Official:developfrom
gunicsba:muller_sprayer_masterswitch

Conversation

@gunicsba
Copy link
Copy Markdown
Contributor

@gunicsba gunicsba commented Apr 3, 2026

Turns out Element 0 wasn't the type we expected. This commit fixes that.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to fix a case where the Mueller sprayer master switch did not disable painting by adjusting how ClientState::is_element_or_parent_off() determines parent/child relationships in the uploaded DDOP, specifically when the relevant child object is a DeviceProcessData instead of a DeviceElement.

Changes:

  • Extend ClientState::is_element_or_parent_off() to also consider DeviceProcessData children (via DDI→element mapping) when determining whether an element’s parent is off.
  • Bump project patch version from 1.3.1 to 1.3.2.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/task_controller.cpp Adds a DeviceProcessData-based path for parent detection in is_element_or_parent_off()
CMakeLists.txt Increments patch version to reflect the fix release

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Strengthen logic

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@gunicsba gunicsba marked this pull request as ready for review April 3, 2026 17:39
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.

2 participants