You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
520 B
28 lines
520 B
/*
|
|
* Copyright (c) 2021-2022, Erich Styger
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef MOTOFFSETTABLE_H_
|
|
#define MOTOFFSETTABLE_H_
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#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_ */
|
|
|