little bit of cleanup
parent
c50b98922c
commit
a353e8a5d1
|
@ -23,10 +23,6 @@
|
|||
#error "Expecting different keyboard dimensions"
|
||||
#endif
|
||||
|
||||
#if ( OPT__MCP23018__DRIVE_ROWS && OPT__MCP23018__DRIVE_COLUMNS ) \
|
||||
|| !( OPT__MCP23018__DRIVE_ROWS || OPT__MCP23018__DRIVE_COLUMNS )
|
||||
#error "MCP23018 pin drive direction incorrectly set"
|
||||
#endif
|
||||
/** macros/(group) pin drive direction/description
|
||||
* Select which set of pins (rows or columns) will drive (alternate between
|
||||
* hi-Z and drive low), and which will be inputs (hi-Z)
|
||||
|
@ -49,6 +45,10 @@
|
|||
* - If the diode cathode is towards the circular solder pad, set
|
||||
* `OPT__MCP23018__DRIVE_ROWS` to `1`
|
||||
*/
|
||||
#if ( OPT__MCP23018__DRIVE_ROWS && OPT__MCP23018__DRIVE_COLUMNS ) \
|
||||
|| !( OPT__MCP23018__DRIVE_ROWS || OPT__MCP23018__DRIVE_COLUMNS )
|
||||
#error "MCP23018 pin drive direction incorrectly set"
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -28,10 +28,6 @@
|
|||
#error "Expecting different keyboard dimensions"
|
||||
#endif
|
||||
|
||||
#if ( OPT__TEENSY__DRIVE_ROWS && OPT__TEENSY__DRIVE_COLUMNS ) \
|
||||
|| !( OPT__TEENSY__DRIVE_ROWS || OPT__TEENSY__DRIVE_COLUMNS )
|
||||
#error "Teensy pin drive direction incorrectly set"
|
||||
#endif
|
||||
/** macros/(group) pin drive direction/description
|
||||
* Select which set of pins (rows or columns) will drive (alternate between
|
||||
* hi-Z and drive low), and which will be inputs (hi-Z)
|
||||
|
@ -54,6 +50,10 @@
|
|||
* - If the diode cathode is towards the circular solder pad, set
|
||||
* `OPT__TEENSY__DRIVE_ROWS` to `1`
|
||||
*/
|
||||
#if ( OPT__TEENSY__DRIVE_ROWS && OPT__TEENSY__DRIVE_COLUMNS ) \
|
||||
|| !( OPT__TEENSY__DRIVE_ROWS || OPT__TEENSY__DRIVE_COLUMNS )
|
||||
#error "Teensy pin drive direction incorrectly set"
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -49,7 +49,3 @@ SRC += $(wildcard $(CURDIR)/layout/$(KEYBOARD_LAYOUT)*.c)
|
|||
|
||||
CFLAGS += -include $(wildcard $(CURDIR)/options.h)
|
||||
|
||||
$(CURDIR)/layout/qwerty-kinesis-mod.o: $(wildcard $(CURDIR)/layout/common/*)
|
||||
$(CURDIR)/layout/dvorak-kinesis-mod.o: $(wildcard $(CURDIR)/layout/common/*)
|
||||
$(CURDIR)/layout/colemak-symbol-mod.o: $(wildcard $(CURDIR)/layout/common/*)
|
||||
|
||||
|
|
Loading…
Reference in New Issue