1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/include/motor_driver.h : Compile Configs

This commit is contained in:
Akshai M 2020-04-06 12:21:34 +05:30
parent 56cb11344b
commit b812772e40

View File

@ -91,12 +91,18 @@
extern "C" {
#endif
/**
* @defgroup drivers_motor_driver_config Motor_Driver driver compile configuration
* @ingroup config_drivers_actuators
* @{
*/
/**
* @brief Maximum number of motors by motor driver
*/
#ifndef MOTOR_DRIVER_MAX
#define MOTOR_DRIVER_MAX (2)
#endif /* MOTOR_DRIVER_MAX */
#endif
/** @} */
/**
* @brief Macro to return motor driver id