board_cfg.h 644 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef _BOARD_CFG_H_
  2. #define _BOARD_CFG_H_
  3. #define PRJ_3_P_4_LINE 1
  4. #define PRJ_3_P_3_LINE 0
  5. #define PRJ_3_P_2_LINE 0
  6. #if PRJ_3_P_3_LINE
  7. #define SUPPORT_ZERO_LINE 0
  8. #define SUPPORT_KEY_CTRL 1
  9. #define SUPPORT_DETECTION 1
  10. #define SUPPORT_DETECT_REMENBER 1
  11. #elif PRJ_3_P_4_LINE
  12. #define SUPPORT_ZERO_LINE 1
  13. #define SUPPORT_KEY_CTRL 0
  14. #define SUPPORT_DETECTION 1
  15. #define SUPPORT_DETECT_REMENBER 1
  16. #elif PRJ_3_P_2_LINE
  17. #define SUPPORT_DETECTION 1
  18. #define SUPPORT_DETECT_REMENBER 1
  19. #define SUPPORT_DOUBLE_FIRE 1
  20. #define PH_STEP 4
  21. #endif
  22. #endif