Skip to content

Commit

Permalink
removed MotorDriverInErrorState msg
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoegenburg committed Feb 14, 2024
1 parent 13ab646 commit be27946
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion hardware/opentrons_hardware/firmware_bindings/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ class MessageId(int, Enum):
read_motor_current_response = 0x35
read_motor_driver_error_status_request = 0x36
read_motor_driver_error_status_response = 0x37
motor_driver_in_error_state = 0x38

set_brushed_motor_vref_request = 0x40
set_brushed_motor_pwm_request = 0x41
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,17 +356,6 @@ class ReadMotorDriverErrorStatusResponse(BaseMessage): # noqa: D101
] = MessageId.read_motor_driver_error_status_response


@dataclass
class MotorDriverInErrorState(BaseMessage): # noqa: D101
payload: payloads.EmptyPayload
payload_type: Type[
payloads.EmptyPayload
] = payloads.EmptyPayload
message_id: Literal[
MessageId.motor_driver_in_error_state
] = MessageId.motor_driver_in_error_state


@dataclass
class WriteMotorCurrentRequest(BaseMessage): # noqa: D101
payload: payloads.MotorCurrentPayload
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
defs.ReadMotorDriverResponse,
defs.ReadMotorDriverErrorStatusRequest,
defs.ReadMotorDriverErrorStatusResponse,
defs.MotorDriverInErrorState,
defs.WriteMotorCurrentRequest,
defs.SetBrushedMotorVrefRequest,
defs.SetBrushedMotorPwmRequest,
Expand Down

0 comments on commit be27946

Please sign in to comment.