Skip to content

Commit

Permalink
converter/palm_usb: move non-assignment code to post_rules.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
skullydazed committed Aug 29, 2021
1 parent aae00ef commit f10c05f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 additions & 0 deletions keyboards/converter/palm_usb/post_rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ifdef HARDWARE_SERIAL
# Untested with palm_usb
SRC += protocol/serial_uart.c
OPT_DEFS += -DHARDWARE_SERIAL
else
SRC += protocol/serial_soft.c
endif
7 changes: 0 additions & 7 deletions keyboards/converter/palm_usb/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,5 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
CUSTOM_MATRIX = yes

SRC += matrix.c
ifdef HARDWARE_SERIAL
# Untested with palm_usb
SRC += protocol/serial_uart.c
OPT_DEFS += -DHARDWARE_SERIAL
else
SRC += protocol/serial_soft.c
endif

DEFAULT_FOLDER = converter/palm_usb/stowaway

0 comments on commit f10c05f

Please sign in to comment.