IPState MICCD::GuideWest(float duration) { if (gxccd_move_telescope(cameraHandle, duration, 0) < 0) { char errorStr[MAX_ERROR_LEN]; gxccd_get_last_error(cameraHandle, errorStr, sizeof(errorStr)); DEBUGF(INDI::Logger::DBG_ERROR, "GuideWest() failed: %s.", errorStr); return IPS_ALERT; } return IPS_OK; }
IPState MICCD::GuideWest(uint32_t ms) { if (gxccd_move_telescope(cameraHandle, static_cast<int16_t>(ms), 0) < 0) { char errorStr[MAX_ERROR_LEN]; gxccd_get_last_error(cameraHandle, errorStr, sizeof(errorStr)); LOGF_ERROR("GuideWest() failed: %s.", errorStr); return IPS_ALERT; } return IPS_OK; }