Skip to content

Conversation

@beniroquai
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings August 1, 2025 08:52
@beniroquai beniroquai merged commit 3505570 into master Aug 1, 2025
Copy link
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 pull request addresses an issue with motor position tracking by consolidating position variables and adds documentation for the ESP restart functionality.

  • Removes redundant _position variable and uses currentPosition consistently
  • Updates motor status callback to use the unified position tracking
  • Adds documentation comment for ESP restart payload format

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
uc2rest/state.py Adds documentation comment showing the JSON payload format for ESP restart
uc2rest/motor.py Removes duplicate position variable and consolidates position tracking to use currentPosition
Comments suppressed due to low confidence (1)

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