您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

30 行
492B

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