fix compilation with GCC version<15
This commit is contained in:
@@ -5,7 +5,7 @@ namespace asibfm700
|
||||
|
||||
const char* AsibFM700ServoControllerErrorCategory::name() const noexcept
|
||||
{
|
||||
return "ASIBFM700-ERROR-CATEGORY";
|
||||
return "ASIBFM700-SERVOCONTROLLER-ERROR-CATEGORY";
|
||||
}
|
||||
|
||||
std::string AsibFM700ServoControllerErrorCategory::message(int ec) const
|
||||
@@ -149,7 +149,7 @@ AsibFM700ServoController::error_t AsibFM700ServoController::hardwareGetState(har
|
||||
state->time_point = tp_t{std::chrono::duration_cast<tp_t::duration>(secs)};
|
||||
}
|
||||
// WARNING: TEMPORARY (WAIT FOR Eddy fix its implementation of LibSidServo)!!!
|
||||
state->time_point = decltype(state->time_point)::clock::now();
|
||||
// state->time_point = decltype(state->time_point)::clock::now();
|
||||
|
||||
// according to "SiTech protocol notes" X is DEC-axis and Y is HA-axis
|
||||
state->X = mdata.encYposition.val;
|
||||
|
||||
Reference in New Issue
Block a user