Skip to content

Commit

Permalink
Additional cleanup and updating
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Nov 3, 2019
1 parent d6f6b33 commit e0da9b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
5 changes: 3 additions & 2 deletions keyboards/crkbd/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

#ifdef RGBLIGHT_ENABLE
//Following line allows macro to read current RGB settings
extern rgblight_config_t rgblight_config;
#endif
#ifdef SSD1306OLED
# include "ssd1306.h"
#endif

extern uint8_t is_master;

Expand Down
7 changes: 0 additions & 7 deletions keyboards/crkbd/rev1/rev1.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
#include "ssd1306.h"
#endif

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
#include <avr/interrupt.h>
#include <avr/io.h>
#endif
#endif

#define has_usb() is_keyboard_master()
uint8_t is_master;
Expand Down
3 changes: 1 addition & 2 deletions keyboards/crkbd/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend

SPLIT_KEYBOARD = yes
LIB_SRC += ssd1306.c \
i2c_master.c
LIB_SRC += ssd1306.c

# if firmware size over limit, try this option

Expand Down

0 comments on commit e0da9b6

Please sign in to comment.