Reformat.
[bertos.git] / bertos / cfg / cfg_stepper.h
index fbe7a3e8d67cda08dc837edcee9a2b63e8fe540a..1efeef26d83b929669e4a0baf64a2ccb928d65cf 100644 (file)
 #ifndef CFG_STEPPER_H
 #define CFG_STEPPER_H
 
-/// Number of usable stepper motor.
-#define CONFIG_NUM_STEPPER_MOTORS    1
+/**
+ * Logging level definition.
+ *
+ * Use 0 to log only the error messages
+ * Use 1 to log the error and warning messages
+ * Use 2 to log all messages
+ */
+#define STEPPER_LOG_LEVEL           2
+
+/**
+ * Set logging verbosity.
+ *
+ * If verbosity is zero print short log messages.
+ */
+#define STEPPER_LOG_VERBOSITY        0
+
+
+/// Max number of the stepper motor.
+#define CONFIG_NUM_STEPPER_MOTORS    6
+
+/// Max number of the timer usable on target to drive stepper motor.
+#define CONFIG_TC_STEPPER_MAX_NUM    6
 
 #endif /* CFG_STEPPER_H */