forked from mirrors/qmk_userspace
quantum: remove direct quantum.h
includes (#21507)
This commit is contained in:
parent
b9e5895184
commit
da2d2f947d
51 changed files with 208 additions and 62 deletions
|
@ -1,5 +1,6 @@
|
|||
#include "audio.h"
|
||||
#include "process_audio.h"
|
||||
#include <math.h>
|
||||
|
||||
#ifndef VOICE_CHANGE_SONG
|
||||
# define VOICE_CHANGE_SONG SONG(VOICE_CHANGE_SOUND)
|
||||
|
@ -61,6 +62,3 @@ void process_audio_noteoff(uint8_t note) {
|
|||
void process_audio_all_notes_off(void) {
|
||||
stop_all_notes();
|
||||
}
|
||||
|
||||
__attribute__((weak)) void audio_on_user(void) {}
|
||||
__attribute__((weak)) void audio_off_user(void) {}
|
||||
|
|
|
@ -10,6 +10,3 @@ bool process_audio(uint16_t keycode, keyrecord_t *record);
|
|||
void process_audio_noteon(uint8_t note);
|
||||
void process_audio_noteoff(uint8_t note);
|
||||
void process_audio_all_notes_off(void);
|
||||
|
||||
void audio_on_user(void);
|
||||
void audio_off_user(void);
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#include "audio.h"
|
||||
#include "process_clicky.h"
|
||||
#include "audio.h"
|
||||
#include "eeconfig.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef AUDIO_CLICKY
|
||||
|
||||
|
|
|
@ -19,6 +19,10 @@
|
|||
#include "report.h"
|
||||
#include "timer.h"
|
||||
#include "debug.h"
|
||||
#include "wait.h"
|
||||
#include "action_util.h"
|
||||
#include "quantum.h"
|
||||
#include "quantum_keycodes.h"
|
||||
|
||||
#ifndef KEY_OVERRIDE_REPEAT_DELAY
|
||||
# define KEY_OVERRIDE_REPEAT_DELAY 500
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue