123456789101112131415161718192021222324252627282930313233343536373839404142 |
- /// @file progress_codes.h
- #pragma once
- #include <stdint.h>
- /// A complete set of progress codes which may be reported while running a high-level command/operation
- /// This header file shall be included in the printer's firmware as well as a reference,
- /// therefore the progress codes have been extracted to one place
- enum class ProgressCode : uint_fast8_t {
- OK = 0, ///< finished ok
- EngagingIdler, // P1
- DisengagingIdler, // P2
- UnloadingToFinda, // P3
- UnloadingToPulley, //P4
- FeedingToFinda, // P5
- FeedingToBondtech, // P6
- FeedingToNozzle, // P7
- AvoidingGrind, // P8
- FinishingMoves, // P9
- ERRDisengagingIdler, // P10
- ERREngagingIdler, // P11
- ERRWaitingForUser, // P12
- ERRInternal, // P13
- ERRHelpingFilament, // P14
- ERRTMCFailed, // P15
- UnloadingFilament, // P16
- LoadingFilament, // P17
- SelectingFilamentSlot, // P18
- PreparingBlade, // P19
- PushingFilament, // P20
- PerformingCut, // P21
- ReturningSelector, // P22
- ParkingSelector, // P23
- EjectingFilament, // P24
- RetractingFromFinda, // P25
- Homing,
- Empty = 0xff // dummy empty state
- };
|