Skip to content

Commit

Permalink
mcu: expose non critical status
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerlz committed Dec 10, 2024
1 parent 9ca47e4 commit 15990a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions klippy/mcu.py
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,9 @@ def _mcu_identify(self):
self._get_status_info["mcu_version"] = version
self._get_status_info["mcu_build_versions"] = build_versions
self._get_status_info["mcu_constants"] = msgparser.get_constants()
self._get_status_info["non_critical_disconnected"] = (
self.non_critical_disconnected
)
self.register_response(self._handle_shutdown, "shutdown")
self.register_response(self._handle_shutdown, "is_shutdown")
self.register_response(self._handle_mcu_stats, "stats")
Expand Down

0 comments on commit 15990a0

Please sign in to comment.