/* * Copyright (c) 2021-2022, Erich Styger * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef MOTOFFSETTABLE_H_ #define MOTOFFSETTABLE_H_ #include #ifdef __cplusplus extern "C" { #endif /*! \brief return an offset for the given motor ID. * \param [out] offsetp Pointer to where to store the offset * \return Returns ERR_OK if valid, otherwise ERR_FAILED */ uint8_t MotOffset_Get(uint8_t motorID, int32_t *offsetp); #ifdef __cplusplus } /* extern "C" */ #endif #endif /* MOTOFFSETTABLE_H_ */