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.

29 lines
475B

  1. #ifndef SENSOR_PARAMS_H
  2. #define SENSOR_PARAMS_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #include "board.h"
  7. #ifndef SENSOR_PARAMS
  8. #define SENSOR_PARAMS \
  9. { .upper = STEPPER_PARAM_UPPER, \
  10. .lower = STEPPER_PARAM_LOWER, \
  11. .line = STEPPER_PARAM_LINE, \
  12. .res = STEPPER_PARAM_RES, \
  13. }
  14. #endif
  15. static const sensor_params_t sensor_params[] = {
  16. SENSOR_PARAMS
  17. };
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif /* SENSOR_PARAMS_H */