Prusa-MMU-Private
PrusaMultiMaterialUpgradev3firmwareforMK3SMK4
progress_codes.h
Go to the documentation of this file.
1 #pragma once
3 #include <stdint.h>
4 
6 using RawProgressCode = uint_fast8_t;
7 
12  OK = 0,
13 
14  EngagingIdler, // P1
15  DisengagingIdler, // P2
16  UnloadingToFinda, // P3
17  UnloadingToPulley, // P4
18  FeedingToFinda, // P5
19  FeedingToBondtech, // P6
20  FeedingToNozzle, // P7
21  AvoidingGrind, // P8
22  FinishingMoves, // P9
23 
24  ERRDisengagingIdler, // P10
25  ERREngagingIdler, // P11 - unused: intended for SlowLoad which is removed now
26  ERRWaitingForUser, // P12
27  ERRInternal, // P13
28  ERRHelpingFilament, // P14 - unused: intended for SlowLoad which is removed now
29  ERRTMCFailed, // P15
30 
31  UnloadingFilament, // P16
32  LoadingFilament, // P17
33  SelectingFilamentSlot, // P18
34  PreparingBlade, // P19
35  PushingFilament, // P20
36  PerformingCut, // P21
37  ReturningSelector, // P22
38  ParkingSelector, // P23
39  EjectingFilament, // P24
40  RetractingFromFinda, // P25
41 
42  Homing, // P26
43  MovingSelector, // P2
44 
45  FeedingToFSensor, // P28
46 
47  HWTestBegin, // P29
48  HWTestIdler, // P30
49  HWTestSelector, // P31
50  HWTestPulley, // P32
51  HWTestCleanup, // P33
52  HWTestExec, // P34
53  HWTestDisplay, // P35
54  ErrHwTestFailed, // P36
55 
58  _cnt,
59 
60  Empty = 0xff // dummy empty state
61 };
ProgressCode
Definition: progress_codes.h:11
@ OK
finished ok
uint_fast8_t RawProgressCode
Base class for ProgressCode and its extensions.
Definition: progress_codes.h:6