diff options
| author | Ryan <fauxpark@gmail.com> | 2021-09-06 06:36:31 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-05 21:36:31 +0100 |
| commit | fe6d6cf76dc827adb2f46d55217dc189eae21b02 (patch) | |
| tree | e97fc05d0efb3064a0c89f719cc5df865959d651 /keyboards/business_card | |
| parent | 8a8fdd9a728a4cdc0ddce54fab9bf3b4ff8bf942 (diff) | |
| download | qmk_firmware-fe6d6cf76dc827adb2f46d55217dc189eae21b02.tar.gz qmk_firmware-fe6d6cf76dc827adb2f46d55217dc189eae21b02.zip | |
Remove empty override functions (#14312)
* Remove empty override functions, 0-9
* Remove empty override functions, A-D
* Remove empty override functions, E-H
* Remove empty override functions, handwired
* Remove empty override functions, I-L
* Remove empty override functions, M-P
* Remove empty override functions, Q-T
* Remove empty override functions, U-Z
Diffstat (limited to 'keyboards/business_card')
| -rw-r--r-- | keyboards/business_card/alpha/alpha.c | 35 | ||||
| -rw-r--r-- | keyboards/business_card/alpha/keymaps/default/keymap.c | 4 | ||||
| -rw-r--r-- | keyboards/business_card/beta/beta.c | 35 | ||||
| -rw-r--r-- | keyboards/business_card/beta/keymaps/default/keymap.c | 8 | ||||
| -rw-r--r-- | keyboards/business_card/business_card.c | 35 |
5 files changed, 0 insertions, 117 deletions
diff --git a/keyboards/business_card/alpha/alpha.c b/keyboards/business_card/alpha/alpha.c index 3d2d1de77..1c2936e15 100644 --- a/keyboards/business_card/alpha/alpha.c +++ b/keyboards/business_card/alpha/alpha.c | |||
| @@ -14,38 +14,3 @@ | |||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | #include "alpha.h" | 16 | #include "alpha.h" |
| 17 | |||
| 18 | // Optional override functions below. | ||
| 19 | // You can leave any or all of these undefined. | ||
| 20 | // These are only required if you want to perform custom actions. | ||
| 21 | |||
| 22 | /* | ||
| 23 | |||
| 24 | void matrix_init_kb(void) { | ||
| 25 | // put your keyboard start-up code here | ||
| 26 | // runs once when the firmware starts up | ||
| 27 | |||
| 28 | matrix_init_user(); | ||
| 29 | } | ||
| 30 | |||
| 31 | void matrix_scan_kb(void) { | ||
| 32 | // put your looping keyboard code here | ||
| 33 | // runs every cycle (a lot) | ||
| 34 | |||
| 35 | matrix_scan_user(); | ||
| 36 | } | ||
| 37 | |||
| 38 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
| 39 | // put your per-action keyboard code here | ||
| 40 | // runs for every action, just before processing by the firmware | ||
| 41 | |||
| 42 | return process_record_user(keycode, record); | ||
| 43 | } | ||
| 44 | |||
| 45 | void led_set_kb(uint8_t usb_led) { | ||
| 46 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | ||
| 47 | |||
| 48 | led_set_user(usb_led); | ||
| 49 | } | ||
| 50 | |||
| 51 | */ | ||
diff --git a/keyboards/business_card/alpha/keymaps/default/keymap.c b/keyboards/business_card/alpha/keymaps/default/keymap.c index d238d651c..6bf201655 100644 --- a/keyboards/business_card/alpha/keymaps/default/keymap.c +++ b/keyboards/business_card/alpha/keymaps/default/keymap.c | |||
| @@ -26,10 +26,6 @@ LAYOUT(/* Base */ | |||
| 26 | ), | 26 | ), |
| 27 | }; | 27 | }; |
| 28 | 28 | ||
| 29 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { return true; } | ||
| 30 | |||
| 31 | void led_set_user(uint8_t usb_led) {} | ||
| 32 | |||
| 33 | void keyboard_post_init_user(void) { | 29 | void keyboard_post_init_user(void) { |
| 34 | rgblight_enable_noeeprom(); | 30 | rgblight_enable_noeeprom(); |
| 35 | rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_MOOD); | 31 | rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_MOOD); |
diff --git a/keyboards/business_card/beta/beta.c b/keyboards/business_card/beta/beta.c index c43be6c16..7a9aa1b9b 100644 --- a/keyboards/business_card/beta/beta.c +++ b/keyboards/business_card/beta/beta.c | |||
| @@ -14,38 +14,3 @@ | |||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | #include "beta.h" | 16 | #include "beta.h" |
| 17 | |||
| 18 | // Optional override functions below. | ||
| 19 | // You can leave any or all of these undefined. | ||
| 20 | // These are only required if you want to perform custom actions. | ||
| 21 | |||
| 22 | /* | ||
| 23 | |||
| 24 | void matrix_init_kb(void) { | ||
| 25 | // put your keyboard start-up code here | ||
| 26 | // runs once when the firmware starts up | ||
| 27 | |||
| 28 | matrix_init_user(); | ||
| 29 | } | ||
| 30 | |||
| 31 | void matrix_scan_kb(void) { | ||
| 32 | // put your looping keyboard code here | ||
| 33 | // runs every cycle (a lot) | ||
| 34 | |||
| 35 | matrix_scan_user(); | ||
| 36 | } | ||
| 37 | |||
| 38 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
| 39 | // put your per-action keyboard code here | ||
| 40 | // runs for every action, just before processing by the firmware | ||
| 41 | |||
| 42 | return process_record_user(keycode, record); | ||
| 43 | } | ||
| 44 | |||
| 45 | void led_set_kb(uint8_t usb_led) { | ||
| 46 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | ||
| 47 | |||
| 48 | led_set_user(usb_led); | ||
| 49 | } | ||
| 50 | |||
| 51 | */ | ||
diff --git a/keyboards/business_card/beta/keymaps/default/keymap.c b/keyboards/business_card/beta/keymaps/default/keymap.c index 8f8f84e57..beff48d98 100644 --- a/keyboards/business_card/beta/keymaps/default/keymap.c +++ b/keyboards/business_card/beta/keymaps/default/keymap.c | |||
| @@ -25,19 +25,11 @@ LAYOUT(/* Base */ | |||
| 25 | ), | 25 | ), |
| 26 | }; | 26 | }; |
| 27 | 27 | ||
| 28 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { return true; } | ||
| 29 | |||
| 30 | void matrix_init_user(void) { | 28 | void matrix_init_user(void) { |
| 31 | rgblight_enable_noeeprom(); | 29 | rgblight_enable_noeeprom(); |
| 32 | rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_MOOD); | 30 | rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_MOOD); |
| 33 | } | 31 | } |
| 34 | 32 | ||
| 35 | void matrix_scan_user(void) {} | ||
| 36 | |||
| 37 | void led_set_user(uint8_t usb_led) {} | ||
| 38 | |||
| 39 | void keyboard_post_init_user(void) {} | ||
| 40 | |||
| 41 | #ifdef OLED_ENABLE | 33 | #ifdef OLED_ENABLE |
| 42 | static void render_logo(void) { | 34 | static void render_logo(void) { |
| 43 | static const char PROGMEM qmk_logo[] = {0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94, | 35 | static const char PROGMEM qmk_logo[] = {0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94, |
diff --git a/keyboards/business_card/business_card.c b/keyboards/business_card/business_card.c index a57c00457..01beb2822 100644 --- a/keyboards/business_card/business_card.c +++ b/keyboards/business_card/business_card.c | |||
| @@ -14,38 +14,3 @@ | |||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | #include "business_card.h" | 16 | #include "business_card.h" |
| 17 | |||
| 18 | // Optional override functions below. | ||
| 19 | // You can leave any or all of these undefined. | ||
| 20 | // These are only required if you want to perform custom actions. | ||
| 21 | |||
| 22 | /* | ||
| 23 | |||
| 24 | void matrix_init_kb(void) { | ||
| 25 | // put your keyboard start-up code here | ||
| 26 | // runs once when the firmware starts up | ||
| 27 | |||
| 28 | matrix_init_user(); | ||
| 29 | } | ||
| 30 | |||
| 31 | void matrix_scan_kb(void) { | ||
| 32 | // put your looping keyboard code here | ||
| 33 | // runs every cycle (a lot) | ||
| 34 | |||
| 35 | matrix_scan_user(); | ||
| 36 | } | ||
| 37 | |||
| 38 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
| 39 | // put your per-action keyboard code here | ||
| 40 | // runs for every action, just before processing by the firmware | ||
| 41 | |||
| 42 | return process_record_user(keycode, record); | ||
| 43 | } | ||
| 44 | |||
| 45 | void led_set_kb(uint8_t usb_led) { | ||
| 46 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | ||
| 47 | |||
| 48 | led_set_user(usb_led); | ||
| 49 | } | ||
| 50 | |||
| 51 | */ | ||
