This commit is contained in:
2025-08-26 19:56:32 +03:00
parent 7556539084
commit 052d4e2eb4
4 changed files with 185 additions and 62 deletions

View File

@@ -201,8 +201,8 @@ public:
_updateFunc = [ccte, pcm, hardware, this](std::stop_token stop_token) {
// first, update mount quantities
typename hardware_t::axes_pos_t hw_pos;
auto hw_err = hardware->getPos(&hw_pos);
typename hardware_t::hardware_state_t hw_pos;
auto hw_err = hardware->hardwareGetState(&hw_pos);
if (hw_err) {
return mcc_deduce_error(hw_err, MccTelemetryErrorCode::ERROR_HARDWARE_GETPOS);
}