Prusa-MMU-Private
PrusaMultiMaterialUpgradev3firmwareforMK3SMK4
home.h
Go to the documentation of this file.
1 #pragma once
3 #include <stdint.h>
4 #include "command_base.h"
5 
6 namespace logic {
7 
21 class Home : public CommandBase {
22 public:
23  inline constexpr Home()
24  : CommandBase() {}
25 
27  bool Reset(uint8_t /*param*/) override;
28 
30  bool StepInner() override;
31 };
32 
34 extern Home home;
35 
36 } // namespace logic
Base class defining common API for high-level operations/commands/state machines.
Definition: command_base.h:29
A high-level command state machine - wrapps the rehoming procedure to be used from a printer.
Definition: home.h:21
bool StepInner() override
Definition: home.cpp:21
bool Reset(uint8_t) override
Restart the automaton.
Definition: home.cpp:14
The logic namespace handles the application logic on top of the modules.
Definition: application.h:8
Home home
The one and only instance of Home state machine in the FW.
Definition: home.cpp:12