]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Fix keyboard not working if I2C pullups not enabled.
authorCole Markham <github@ccmcomputing.net>
Sat, 9 Dec 2017 07:25:32 +0000 (01:25 -0600)
committerJack Humbert <jack.humb@gmail.com>
Thu, 14 Dec 2017 05:13:42 +0000 (00:13 -0500)
Disable backlighting by default.

keyboards/meira/featherble/rules.mk
keyboards/meira/meira.c
keyboards/meira/promicro/rules.mk
keyboards/meira/rules.mk

index 47d0e5b89248ee59fff9e3340d3ef40a60b17c6f..3913643222da574c3f90022b35c630d585605256 100644 (file)
@@ -1,4 +1,4 @@
 BLUETOOTH_ENABLE = yes
-BACKLIGHT_ENABLE = yes
+BACKLIGHT_ENABLE = no
 F_CPU = 8000000
 
index cd6bf5580b4c3aa9743761744f797f21925fae6d..2ae53e00a3e3de4167baf43df2fc0a22ded2f139 100644 (file)
@@ -20,6 +20,8 @@
 #include "quantum.h"
 #define BACKLIGHT_BREATHING
 
+extern void backlight_set(uint8_t level);
+
 #ifdef AUDIO_ENABLE
     float tone_startup[][2] = SONG(STARTUP_SOUND);
     float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
@@ -55,7 +57,6 @@ void matrix_init_kb(void)
     wdt_enable(WDTO_500MS);
 #endif
 
-
     // put your keyboard start-up code here
     // runs once when the firmware starts up
     matrix_init_user();
index 8d6c4e168fd7196ef5e5160b99d2cc2e8afb0990..529e3147eee3c536fb9c8bb9bf268cb80e903f2a 100644 (file)
@@ -1,2 +1,2 @@
 BLUETOOTH_ENABLE = no
-BACKLIGHT_ENABLE = yes
+BACKLIGHT_ENABLE = no
index 9f1d2fbaeebab51ef5f2844770ed38c07fffb383..3c69cb60a0e1a38742fea5acdf29431ffcf99c69 100644 (file)
@@ -47,7 +47,7 @@ OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
 #   Atmel DFU loader 4096
 #   LUFA bootloader  4096
 #   USBaspLoader     2048
-OPT_DEFS += -DBOOTLOADER_SIZE=512
+OPT_DEFS += -DBOOTLOADER_SIZE=4096
 
 
 # Build Options
@@ -62,7 +62,7 @@ COMMAND_ENABLE ?= yes        # Commands for debug and configuration
 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 ?= no            # USB Nkey Rollover
-BACKLIGHT_ENABLE = yes       # Enable keyboard backlight functionality on B7 by default
+BACKLIGHT_ENABLE ?= no       # Enable keyboard backlight functionality on B7 by default
 MIDI_ENABLE ?= no            # MIDI support (+2400 to 4200, depending on config)
 UNICODE_ENABLE ?= no         # Unicode
 BLUETOOTH_ENABLE ?= no       # Enable Bluetooth with the Adafruit EZ-Key HID
@@ -70,7 +70,7 @@ AUDIO_ENABLE ?= no           # Audio output on port C6
 RGBLIGHT_ENABLE ?= no       # Enable WS2812 RGB underlight.  Do not enable this with audio at the same time.
 FAUXCLICKY_ENABLE ?= no      # Use buzzer to emulate clicky switches
 
-ISSI_ENABLE = yes                      # If the I2C pullup resistors aren't install this must be disabled
+ISSI_ENABLE ?= no                      # If the I2C pullup resistors aren't install this must be disabled
 #WATCHDOG_ENABLE = yes         # Resets keyboard if matrix_scan isn't run every 250ms
 
 CUSTOM_MATRIX = yes