Create generic Pointing Device Pin defines (#17776)
This commit is contained in:
parent
83f6aedd93
commit
ccdba43e59
6 changed files with 80 additions and 40 deletions
|
@ -43,7 +43,11 @@
|
|||
#endif
|
||||
|
||||
#ifndef ADNS9800_CS_PIN
|
||||
# error "No chip select pin defined -- missing ADNS9800_CS_PIN"
|
||||
# ifdef POINTING_DEVICE_CS_PIN
|
||||
# define ADNS9800_CS_PIN POINTING_DEVICE_CS_PIN
|
||||
# else
|
||||
# error "No chip select pin defined -- missing POINTING_DEVICE_CS_PIN or ADNS9800_CS_PIN"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue