Browse Source

Remove more unnecessary `quantum.h` includes (#23402)

pull/23422/head
Ryan 1 month ago
committed by GitHub
parent
commit
a14c03b96e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
60 changed files with 102 additions and 77 deletions
  1. +1
    -1
      keyboards/bastardkb/charybdis/3x5/3x5.c
  2. +1
    -1
      keyboards/bastardkb/charybdis/3x6/3x6.c
  3. +1
    -1
      keyboards/bastardkb/charybdis/4x6/4x6.c
  4. +1
    -1
      keyboards/bastardkb/dilemma/3x5_3/3x5_3.c
  5. +1
    -1
      keyboards/bastardkb/dilemma/4x6_4/4x6_4.c
  6. +1
    -1
      keyboards/cipulot/common/ec_board.c
  7. +2
    -1
      keyboards/crkbd/lib/host_led_state_reader.c
  8. +2
    -1
      keyboards/crkbd/lib/keylogger.c
  9. +1
    -1
      keyboards/crkbd/lib/layer_state_reader.c
  10. +0
    -2
      keyboards/crkbd/lib/logo_reader.c
  11. +0
    -1
      keyboards/crkbd/lib/mode_icon_reader.c
  12. +1
    -1
      keyboards/crkbd/lib/rgb_state_reader.c
  13. +1
    -1
      keyboards/crkbd/lib/timelogger.c
  14. +7
    -2
      keyboards/doio/kb16/lib/bongocat/bongocat.c
  15. +3
    -1
      keyboards/doio/kb16/lib/layer_status/layer_status.c
  16. +2
    -1
      keyboards/doio/kb16/lib/logo.c
  17. +1
    -1
      keyboards/durgod/dgk6x/galaxy/galaxy.c
  18. +1
    -1
      keyboards/durgod/dgk6x/hades_ansi/hades_ansi.c
  19. +1
    -1
      keyboards/durgod/dgk6x/hades_iso/hades_iso.c
  20. +1
    -1
      keyboards/durgod/dgk6x/venus/venus.c
  21. +4
    -1
      keyboards/gboards/engine/engine.h
  22. +4
    -1
      keyboards/gboards/g/engine.h
  23. +2
    -1
      keyboards/gopolar/gg86/lib/logo.c
  24. +1
    -1
      keyboards/handwired/dygma/raise/ansi/ansi.c
  25. +1
    -1
      keyboards/handwired/dygma/raise/iso/iso.c
  26. +1
    -1
      keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c
  27. +1
    -1
      keyboards/helix/rev3_5rows/rev3_5rows.c
  28. +7
    -2
      keyboards/horrortroll/handwired_k552/lib/bongocat.c
  29. +3
    -1
      keyboards/horrortroll/handwired_k552/lib/galaxy.c
  30. +3
    -1
      keyboards/horrortroll/handwired_k552/lib/logo.c
  31. +7
    -2
      keyboards/horrortroll/lemon40/lib/bongocat.c
  32. +0
    -2
      keyboards/hotdox/hotdox.c
  33. +7
    -1
      keyboards/kbdfans/odin75/lib/bongocat.c
  34. +2
    -2
      keyboards/keyboardio/model01/model01.c
  35. +1
    -1
      keyboards/lily58/lib/layer_state_reader.c
  36. +3
    -1
      keyboards/marksard/rhymestone/common/oled_helper.c
  37. +3
    -1
      keyboards/marksard/treadstone48/common/oled_helper.c
  38. +0
    -1
      keyboards/monstargear/xo87/solderable/solderable.c
  39. +1
    -1
      keyboards/palette1202/lib/oled_helper.c
  40. +1
    -1
      keyboards/rgbkb/sol/rev1/rev1.c
  41. +1
    -1
      keyboards/rgbkb/sol/rev2/rev2.c
  42. +2
    -1
      keyboards/satt/comet46/lib/host_led_state_reader.c
  43. +1
    -1
      keyboards/satt/comet46/lib/modifier_state_reader.c
  44. +1
    -2
      keyboards/sekigon/grs_70ec/ec_switch_matrix.c
  45. +0
    -4
      keyboards/terrazzo/terrazzo.c
  46. +1
    -3
      keyboards/tzarc/djinn/djinn.c
  47. +0
    -3
      keyboards/tzarc/djinn/djinn_portscan_matrix.c
  48. +0
    -2
      keyboards/tzarc/djinn/djinn_split_sync.c
  49. +0
    -2
      keyboards/tzarc/djinn/djinn_usbpd.c
  50. +0
    -2
      keyboards/v60_type_r/v60_type_r.c
  51. +0
    -2
      keyboards/v60_type_r/v60_type_r.h
  52. +1
    -1
      keyboards/viktus/minne_topre/ec.c
  53. +1
    -1
      keyboards/viktus/osav2_numpad_topre/ec.c
  54. +1
    -1
      keyboards/viktus/osav2_topre/ec.c
  55. +1
    -1
      keyboards/viktus/styrka_topre/ec.c
  56. +7
    -0
      keyboards/vinhcatba/uncertainty/bongo.c
  57. +2
    -0
      keyboards/vinhcatba/uncertainty/bongo.h
  58. +1
    -2
      keyboards/vinhcatba/uncertainty/uncertainty.c
  59. +1
    -1
      keyboards/yosino58/lib/layer_state_reader.c
  60. +0
    -1
      keyboards/yosino58/lib/rgb_state_reader.c

+ 1
- 1
keyboards/bastardkb/charybdis/3x5/3x5.c View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "charybdis.h"
// clang-format off
#ifdef RGB_MATRIX_ENABLE


+ 1
- 1
keyboards/bastardkb/charybdis/3x6/3x6.c View File

@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "charybdis.h"
// clang-format off
#ifdef RGB_MATRIX_ENABLE


+ 1
- 1
keyboards/bastardkb/charybdis/4x6/4x6.c View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "charybdis.h"
// clang-format off
#ifdef RGB_MATRIX_ENABLE


+ 1
- 1
keyboards/bastardkb/dilemma/3x5_3/3x5_3.c View File

@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "dilemma.h"
#ifdef ENCODER_ENABLE
bool encoder_update_kb(uint8_t index, bool clockwise) {


+ 1
- 1
keyboards/bastardkb/dilemma/4x6_4/4x6_4.c View File

@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "dilemma.h"
#ifdef SWAP_HANDS_ENABLE
const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {


+ 1
- 1
keyboards/cipulot/common/ec_board.c View File

@ -15,7 +15,7 @@
*/
#include "ec_switch_matrix.h"
#include "quantum.h"
#include "keyboard.h"
void eeconfig_init_kb(void) {
// Default values


+ 2
- 1
keyboards/crkbd/lib/host_led_state_reader.c View File

@ -1,5 +1,6 @@
#include <stdio.h>
#include "quantum.h"
#include "led.h"
#include "host.h"
char host_led_state_str[24];


+ 2
- 1
keyboards/crkbd/lib/keylogger.c View File

@ -1,5 +1,6 @@
#include <stdio.h>
#include "quantum.h"
#include <stdint.h>
#include "action.h"
char keylog_str[24] = {};
char keylogs_str[21] = {};


+ 1
- 1
keyboards/crkbd/lib/layer_state_reader.c View File

@ -1,5 +1,5 @@
#include "quantum.h"
#include <stdio.h>
#include "action_layer.h"
// in the future, should use (1U<<_LAYER_NAME) instead, but needs to be moved to keymap,c
#define L_BASE 0


+ 0
- 2
keyboards/crkbd/lib/logo_reader.c View File

@ -1,5 +1,3 @@
#include "quantum.h"
const char *read_logo(void) {
static char logo[] = {
0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94,


+ 0
- 1
keyboards/crkbd/lib/mode_icon_reader.c View File

@ -1,5 +1,4 @@
#include <stdio.h>
#include "quantum.h"
char mode_icon[24];


+ 1
- 1
keyboards/crkbd/lib/rgb_state_reader.c View File

@ -1,7 +1,7 @@
#ifdef RGBLIGHT_ENABLE
#include <stdio.h>
#include "quantum.h"
#include "rgblight.h"
extern rgblight_config_t rgblight_config;
char rbf_info_str[24];


+ 1
- 1
keyboards/crkbd/lib/timelogger.c View File

@ -1,5 +1,5 @@
#include <stdio.h>
#include "quantum.h"
#include "timer.h"
char timelog_str[24] = {};
int last_time = 0;


+ 7
- 2
keyboards/doio/kb16/lib/bongocat/bongocat.c View File

@ -14,7 +14,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "bongocat.h"
#include <stdlib.h>
#include "oled_driver.h"
#include "progmem.h"
#include "timer.h"
#include "wpm.h"
#include "util.h"
// WPM-responsive animation stuff here
#define IDLE_FRAMES 5
@ -28,7 +34,6 @@
#define ANIM_FRAME_RATIO 2.5 // how aggressively animation speeds up with wpm
// #define SLEEP_TIMER 60000 // should sleep after this period of 0 wpm, needs fixing
#define ANIM_SIZE 525 // number of bytes in array, minimize for adequate firmware size, max is 1024
#define MAX(x, y) (((x) > (y)) ? (x) : (y)) // Math.max macro
uint32_t curr_anim_duration = 0; // variable animation duration
uint32_t bongo_timer = 0;


+ 3
- 1
keyboards/doio/kb16/lib/layer_status/layer_status.c View File

@ -15,7 +15,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "oled_driver.h"
#include "action_layer.h"
#include "progmem.h"
#define ANIM_SIZE 525 // number of bytes in array, minimize for adequate firmware size, max is 1024


+ 2
- 1
keyboards/doio/kb16/lib/logo.c View File

@ -15,7 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "oled_driver.h"
#include "progmem.h"
#define ANIM_SIZE 525 // number of bytes in array, minimize for adequate firmware size, max is 1024


+ 1
- 1
keyboards/durgod/dgk6x/galaxy/galaxy.c View File

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "dgk6x.h"
#ifdef RGB_MATRIX_ENABLE


+ 1
- 1
keyboards/durgod/dgk6x/hades_ansi/hades_ansi.c View File

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "dgk6x.h"
#ifdef RGB_MATRIX_ENABLE


+ 1
- 1
keyboards/durgod/dgk6x/hades_iso/hades_iso.c View File

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "dgk6x.h"
#ifdef RGB_MATRIX_ENABLE


+ 1
- 1
keyboards/durgod/dgk6x/venus/venus.c View File

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "dgk6x.h"
#ifdef RGB_MATRIX_ENABLE


+ 4
- 1
keyboards/gboards/engine/engine.h View File

@ -12,9 +12,12 @@
#pragma once
#include "quantum.h"
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#include "action.h"
#include "progmem.h"
#include "config_engine.h"
// Maximum values for combos


+ 4
- 1
keyboards/gboards/g/engine.h View File

@ -12,9 +12,12 @@
#pragma once
#include "quantum.h"
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#include "action.h"
#include "progmem.h"
#include "config_engine.h"
// Set defaults


+ 2
- 1
keyboards/gopolar/gg86/lib/logo.c View File

@ -14,7 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "oled_driver.h"
#include "progmem.h"
#define ANIM_SIZE 525 // number of bytes in array, minimize for adequate firmware size, max is 1024


+ 1
- 1
keyboards/handwired/dygma/raise/ansi/ansi.c View File

@ -14,7 +14,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "raise.h"
// "led_map" is taken from kaleidoscope
// LHK = Left Hand Keys


+ 1
- 1
keyboards/handwired/dygma/raise/iso/iso.c View File

@ -14,7 +14,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "raise.h"
// "led_map" is taken from kaleidoscope
// LHK = Left Hand Keys


+ 1
- 1
keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c View File

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "tractyl_manuform.h"
void keyboard_pre_init_sub(void) { setPinInputHigh(A0); }


+ 1
- 1
keyboards/helix/rev3_5rows/rev3_5rows.c View File

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "rev3_5rows.h"
bool is_mac_mode(void) {
return keymap_config.swap_lalt_lgui == false;


+ 7
- 2
keyboards/horrortroll/handwired_k552/lib/bongocat.c View File

@ -14,7 +14,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "bongocat.h"
#include <stdlib.h>
#include "oled_driver.h"
#include "progmem.h"
#include "timer.h"
#include "wpm.h"
#include "util.h"
// WPM-responsive animation stuff here
# define IDLE_FRAMES 5
@ -28,7 +34,6 @@
# define ANIM_FRAME_RATIO 2.5 // how aggressively animation speeds up with wpm
// #define SLEEP_TIMER 60000 // should sleep after this period of 0 wpm, needs fixing
# define ANIM_SIZE 636 // number of bytes in array, minimize for adequate firmware size, max is 1024
# define MAX(x, y) (((x) > (y)) ? (x) : (y)) // Math.max macro
uint32_t curr_anim_duration = 0; // variable animation duration
uint32_t bongo_timer = 0;


+ 3
- 1
keyboards/horrortroll/handwired_k552/lib/galaxy.c View File

@ -14,7 +14,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "galaxy.h"
#include "oled_driver.h"
#include "progmem.h"
# define ANIM_SIZE 636 // number of bytes in array, minimize for adequate firmware size, max is 1024


+ 3
- 1
keyboards/horrortroll/handwired_k552/lib/logo.c View File

@ -14,7 +14,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "logo.h"
#include "oled_driver.h"
#include "progmem.h"
# define ANIM_SIZE 636 // number of bytes in array, minimize for adequate firmware size, max is 1024


+ 7
- 2
keyboards/horrortroll/lemon40/lib/bongocat.c View File

@ -14,7 +14,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "bongocat.h"
#include <stdlib.h>
#include "oled_driver.h"
#include "progmem.h"
#include "timer.h"
#include "wpm.h"
#include "util.h"
// WPM-responsive animation stuff here
#define IDLE_FRAMES 5
@ -28,7 +34,6 @@
#define ANIM_FRAME_RATIO 2.5 // how aggressively animation speeds up with wpm
// #define SLEEP_TIMER 60000 // should sleep after this period of 0 wpm, needs fixing
#define ANIM_SIZE 525 // number of bytes in array, minimize for adequate firmware size, max is 1024
#define MAX(x, y) (((x) > (y)) ? (x) : (y)) // Math.max macro
uint32_t curr_anim_duration = 0; // variable animation duration
uint32_t bongo_timer = 0;


+ 0
- 2
keyboards/hotdox/hotdox.c View File

@ -1,6 +1,4 @@
#include "hotdox.h"
#include "backlight.h"
#include "quantum.h"
extern inline void ergodox_board_led_on(void);
extern inline void ergodox_right_led_1_on(void);


+ 7
- 1
keyboards/kbdfans/odin75/lib/bongocat.c View File

@ -14,7 +14,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "bongocat.h"
#include <stdlib.h>
#include "oled_driver.h"
#include "progmem.h"
#include "timer.h"
#include "wpm.h"
#include "util.h"
// WPM-responsive animation stuff here
#define IDLE_FRAMES 5


+ 2
- 2
keyboards/keyboardio/model01/model01.c View File

@ -13,10 +13,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "model01.h"
#include "i2c_master.h"
#include <string.h>
#include "model01.h"
void matrix_init_kb(void) {
/* the bootloader can leave LEDs on, so */


+ 1
- 1
keyboards/lily58/lib/layer_state_reader.c View File

@ -1,4 +1,4 @@
#include "quantum.h"
#include "action_layer.h"
#include <stdio.h>
#define L_BASE 0


+ 3
- 1
keyboards/marksard/rhymestone/common/oled_helper.c View File

@ -1,9 +1,11 @@
#include "oled_helper.h"
#include "quantum.h"
#include "host.h"
#include "progmem.h"
#include <stdio.h>
#include <string.h>
#ifdef OLED_ENABLE
#include "oled_driver.h"
void render_logo(void) {


+ 3
- 1
keyboards/marksard/treadstone48/common/oled_helper.c View File

@ -1,5 +1,7 @@
#include "oled_helper.h"
#include "quantum.h"
#include "oled_driver.h"
#include "host.h"
#include "rgblight.h"
#include <stdio.h>
#include <string.h>


+ 0
- 1
keyboards/monstargear/xo87/solderable/solderable.c View File

@ -15,7 +15,6 @@
*/
#include "solderable.h"
#include "quantum.h"
#define noLed {255,255}


+ 1
- 1
keyboards/palette1202/lib/oled_helper.c View File

@ -1,5 +1,5 @@
#include "oled_helper.h"
#include "quantum.h"
#include "oled_driver.h"
#include <stdio.h>
#include <string.h>


+ 1
- 1
keyboards/rgbkb/sol/rev1/rev1.c View File

@ -1,4 +1,4 @@
#include "quantum.h"
#include "sol.h"
#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = { {


+ 1
- 1
keyboards/rgbkb/sol/rev2/rev2.c View File

@ -1,4 +1,4 @@
#include "quantum.h"
#include "sol.h"
#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = { {


+ 2
- 1
keyboards/satt/comet46/lib/host_led_state_reader.c View File

@ -1,5 +1,6 @@
#include <stdio.h>
#include "quantum.h"
#include "led.h"
#include "host.h"
char host_led_state_str[22];


+ 1
- 1
keyboards/satt/comet46/lib/modifier_state_reader.c View File

@ -1,5 +1,5 @@
#include <stdio.h>
#include "quantum.h"
#include "action_util.h"
char modifier_state_str[22];


+ 1
- 2
keyboards/sekigon/grs_70ec/ec_switch_matrix.c View File

@ -15,8 +15,7 @@
*/
#include "ec_switch_matrix.h"
#include "quantum.h"
#include <avr/interrupt.h>
#include "analog.h"
#include "print.h"


+ 0
- 4
keyboards/terrazzo/terrazzo.c View File

@ -17,10 +17,6 @@
#include "terrazzo.h"
#ifdef LED_MATRIX_ENABLE
#include <math.h>
#include "print.h"
#include "quantum.h"
const is31fl3731_led_t PROGMEM g_is31fl3731_leds[IS31FL3731_LED_COUNT] = {
/* Refer to IS31 manual for these locations
* https://cdn-learn.adafruit.com/downloads/pdf/adafruit-15x7-7x15-charlieplex-led-matrix-charliewing-featherwing.pdf


+ 1
- 3
keyboards/tzarc/djinn/djinn.c View File

@ -1,12 +1,10 @@
// Copyright 2018-2023 Nick Brassel (@tzarc)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "djinn.h"
#include <string.h>
#include "quantum.h"
#include <hal_pal.h>
#include "djinn.h"
#include "serial.h"
#include "split_util.h"
#include "qp.h"
painter_device_t lcd;


+ 0
- 3
keyboards/tzarc/djinn/djinn_portscan_matrix.c View File

@ -1,8 +1,5 @@
// Copyright 2018-2022 Nick Brassel (@tzarc)
// SPDX-License-Identifier: GPL-2.0-or-later
#include <ch.h>
#include <hal.h>
#include "quantum.h"
#include "djinn.h"
#define GPIOB_BITMASK (1 << 13 | 1 << 14 | 1 << 15) // B13, B14, B15


+ 0
- 2
keyboards/tzarc/djinn/djinn_split_sync.c View File

@ -1,7 +1,5 @@
// Copyright 2018-2023 Nick Brassel (@tzarc)
// SPDX-License-Identifier: GPL-2.0-or-later
#include <string.h>
#include "quantum.h"
#include "transactions.h"
#include "split_util.h"
#include "djinn.h"


+ 0
- 2
keyboards/tzarc/djinn/djinn_usbpd.c View File

@ -1,7 +1,5 @@
// Copyright 2018-2022 Nick Brassel (@tzarc)
// SPDX-License-Identifier: GPL-2.0-or-later
#include <string.h>
#include "quantum.h"
#include "djinn.h"
const char* usbpd_str(usbpd_allowance_t allowance) {


+ 0
- 2
keyboards/v60_type_r/v60_type_r.c View File

@ -15,8 +15,6 @@
*/
#include "v60_type_r.h"
#include "quantum.h"
// if we've got an RGB underglow!
#ifdef RGBLIGHT_ENABLE


+ 0
- 2
keyboards/v60_type_r/v60_type_r.h View File

@ -19,8 +19,6 @@
#ifdef RGBLIGHT_ENABLE
#include "rgblight.h"
void rgb_init(void);
void set_rgb_color(uint8_t pin, uint8_t value, uint8_t timer_value);


+ 1
- 1
keyboards/viktus/minne_topre/ec.c View File

@ -14,8 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "ec.h"
#include <avr/interrupt.h>
#include "analog.h"
//#include "debug.h" // needed for debugging


+ 1
- 1
keyboards/viktus/osav2_numpad_topre/ec.c View File

@ -14,8 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "ec.h"
#include <avr/interrupt.h>
#include "analog.h"
//#include "debug.h" // needed for debugging


+ 1
- 1
keyboards/viktus/osav2_topre/ec.c View File

@ -14,8 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#include "ec.h"
#include <avr/interrupt.h>
#include "analog.h"
//#include "debug.h" // needed for debugging


+ 1
- 1
keyboards/viktus/styrka_topre/ec.c View File

@ -15,8 +15,8 @@
*/
#include "ec.h"
#include <avr/interrupt.h>
#include "quantum.h"
#include "analog.h"
//#include "debug.h"


+ 7
- 0
keyboards/vinhcatba/uncertainty/bongo.c View File

@ -1,7 +1,14 @@
// Copyright 2022 Parker Levin (@pedker)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "bongo.h"
#include <stdlib.h>
#include "quantum.h"
#include "matrix.h"
#include "oled_driver.h"
#include "timer.h"
#include "wpm.h"
#include "util.h"
#define ANIM_FRAME_DURATION 75 // how long each frame lasts in ms
#define ANIM_SIZE 636 // number of bytes in array, minimize for adequate firmware size, max is 1024


+ 2
- 0
keyboards/vinhcatba/uncertainty/bongo.h View File

@ -3,4 +3,6 @@
#pragma once
#include <stdbool.h>
void draw_bongo(bool minimal);

+ 1
- 2
keyboards/vinhcatba/uncertainty/uncertainty.c View File

@ -1,8 +1,7 @@
// Copyright 2023 Vinh Le (@vinhcatba)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
#include "quantum.h"
#include "uncertainty.h"
#ifdef OLED_ENABLE
#include "bongo.h"


+ 1
- 1
keyboards/yosino58/lib/layer_state_reader.c View File

@ -1,5 +1,5 @@
#include "quantum.h"
#include "action_layer.h"
#include <stdio.h>
#define L_BASE 0


+ 0
- 1
keyboards/yosino58/lib/rgb_state_reader.c View File

@ -1,6 +1,5 @@
#ifdef RGBLIGHT_ENABLE
#include "quantum.h"
#include <stdio.h>
extern rgblight_config_t rgblight_config;


Loading…
Cancel
Save