~ruther/qmk_firmware

41347cdcecc2007990996e3ccf9f47f55119980f — Drashna Jaelre 4 years ago 33802ab
[Keyboard] Fix compiler issues for handwired/6macro (#11098)

2 files changed, 10 insertions(+), 18 deletions(-)

M keyboards/handwired/6macro/config.h
M keyboards/handwired/6macro/rules.mk
M keyboards/handwired/6macro/config.h => keyboards/handwired/6macro/config.h +2 -1
@@ 41,6 41,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.

#define RGB_DI_PIN D2
#define RGBLED_NUM 10
#define DRIVER_LED_TOTAL RGBLED_NUM
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17


@@ 67,4 68,4 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.


/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
\ No newline at end of file
#define DEBOUNCE 5

M keyboards/handwired/6macro/rules.mk => keyboards/handwired/6macro/rules.mk +8 -17
@@ 2,33 2,24 @@
MCU = atmega32u2

# Bootloader selection
#   Teensy       halfkay
#   Pro Micro    caterina
#   Atmel DFU    atmel-dfu
#   LUFA DFU     lufa-dfu
#   QMK DFU      qmk-dfu
#   ATmega32A    bootloadHID
#   ATmega328P   USBasp
BOOTLOADER = atmel-dfu

# Build Options
#   change yes to no to disable
#
BOOTMAGIC_ENABLE = no      	# Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = yes      	# Mouse keys(+4700)
EXTRAKEY_ENABLE = yes      	# Audio control and System control(+450)
CONSOLE_ENABLE = no        	# Console for debug(+400)
BOOTMAGIC_ENABLE = no      	# Virtual DIP switch configuration
MOUSEKEY_ENABLE = yes      	# Mouse keys
EXTRAKEY_ENABLE = yes      	# Audio control and System control
CONSOLE_ENABLE = no        	# Console for debug
COMMAND_ENABLE = no        	# Commands for debug and configuration
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no      	# Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE = yes          	# USB Nkey Rollover
RGB_MATRIX_ENABLE = yes     # Enable per-key coordinate based RGB effects. Do not enable with RGBlight (+8500)
RGB_MATRIX_ENABLE = no     # Enable per-key coordinate based RGB effects. Do not enable with RGBlight
RGB_MATRIX_DRIVER = WS2812
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality on B7 by default
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
MIDI_ENABLE = no            # MIDI support (+2400 to 4200, depending on config)
UNICODE_ENABLE = yes        # Unicode
BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no           # Audio output on port C6
FAUXCLICKY_ENABLE = no      # Use buzzer to emulate clicky switches
BLUETOOTH_ENABLE = no       # Enable Bluetooth
AUDIO_ENABLE = no           # Audio output