Prusa3d Marlin fork
Public Member Functions | Static Public Attributes | List of all members
MMU2::DropOutFilter Class Reference

Filter of short consecutive drop outs which are recovered instantly.

#include <mmu2_protocol_logic.h>

Public Member Functions

bool Record (StepStatus ss)
 
StepStatus InitialCause () const
 
void Reset ()
 Rearms the object for further processing - basically call this once the MMU responds with something meaningful (e.g. S0 A2)
 

Static Public Attributes

static constexpr uint8_t maxOccurrences = 10
 

Member Function Documentation

◆ InitialCause()

StepStatus MMU2::DropOutFilter::InitialCause ( ) const
inline
Returns
the initial cause which started this drop out event

◆ Record()

bool MMU2::DropOutFilter::Record ( StepStatus  ss)
Returns
true if the error should be reported to higher levels (max. number of consecutive occurrences reached)

The documentation for this class was generated from the following files: