...
This commit is contained in:
@@ -148,12 +148,14 @@ struct std::formatter<asibfm700::AsibFM700ServoController::hardware_movement_sta
|
||||
auto format(asibfm700::AsibFM700ServoController::hardware_movement_state_t e, auto& ctx) const
|
||||
{
|
||||
return formatter<std::string_view>::format(
|
||||
e == asibfm700::AsibFM700ServoController::hardware_movement_state_t::HW_MOVE_ERROR ? "ERROR"
|
||||
: e == asibfm700::AsibFM700ServoController::hardware_movement_state_t::HW_MOVE_STOPPED ? "STOPPED"
|
||||
: e == asibfm700::AsibFM700ServoController::hardware_movement_state_t::HW_MOVE_STOPPING ? "STOPPING"
|
||||
: e == asibfm700::AsibFM700ServoController::hardware_movement_state_t::HW_MOVE_SLEWING ? "SLEWING"
|
||||
: e == asibfm700::AsibFM700ServoController::hardware_movement_state_t::HW_MOVE_TRACKING ? "TRACKING"
|
||||
: "UNKNOWN",
|
||||
e == asibfm700::AsibFM700ServoController::hardware_movement_state_t::HW_MOVE_ERROR ? "ERROR"
|
||||
: e == asibfm700::AsibFM700ServoController::hardware_movement_state_t::HW_MOVE_STOPPED ? "STOPPED"
|
||||
: e == asibfm700::AsibFM700ServoController::hardware_movement_state_t::HW_MOVE_STOPPING ? "STOPPING"
|
||||
: e == asibfm700::AsibFM700ServoController::hardware_movement_state_t::HW_MOVE_SLEWING ? "SLEWING"
|
||||
: e == asibfm700::AsibFM700ServoController::hardware_movement_state_t::HW_MOVE_ADJUSTING ? "ADJUSTING"
|
||||
: e == asibfm700::AsibFM700ServoController::hardware_movement_state_t::HW_MOVE_TRACKING ? "TRACKING"
|
||||
: e == asibfm700::AsibFM700ServoController::hardware_movement_state_t::HW_MOVE_GUIDING ? "GUIDING"
|
||||
: "UNKNOWN",
|
||||
ctx);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user