Skip to content

Commit

Permalink
converter/sun_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 f10c05f commit 9868294
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions keyboards/converter/sun_usb/post_rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ifdef HARDWARE_SERIAL
SRC += protocol/serial_uart.c
OPT_DEFS += -DHARDWARE_SERIAL
else
SRC += protocol/serial_soft.c
endif
6 changes: 0 additions & 6 deletions keyboards/converter/sun_usb/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,5 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
CUSTOM_MATRIX = yes

SRC += matrix.c led.c
ifdef HARDWARE_SERIAL
SRC += protocol/serial_uart.c
OPT_DEFS += -DHARDWARE_SERIAL
else
SRC += protocol/serial_soft.c
endif

DEFAULT_FOLDER = converter/sun_usb/type5

0 comments on commit 9868294

Please sign in to comment.