Move Audio drivers from quantum to platform drivers folder (#14308)
* Move Audio drivers from quantum to platform drivers folder * fix path for audio drivers Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>master
parent
9f0e74802a
commit
ba8f1454f4
|
@ -83,7 +83,7 @@ ifeq ($(strip $(AUDIO_ENABLE)), yes)
|
|||
SRC += $(QUANTUM_DIR)/process_keycode/process_audio.c
|
||||
SRC += $(QUANTUM_DIR)/process_keycode/process_clicky.c
|
||||
SRC += $(QUANTUM_DIR)/audio/audio.c ## common audio code, hardware agnostic
|
||||
SRC += $(QUANTUM_DIR)/audio/driver_$(PLATFORM_KEY)_$(strip $(AUDIO_DRIVER)).c
|
||||
SRC += $(PLATFORM_PATH)/$(PLATFORM_KEY)/$(DRIVER_DIR)/audio_$(strip $(AUDIO_DRIVER)).c
|
||||
SRC += $(QUANTUM_DIR)/audio/voices.c
|
||||
SRC += $(QUANTUM_DIR)/audio/luts.c
|
||||
endif
|
||||
|
|
|
@ -26,17 +26,12 @@
|
|||
|
||||
#if defined(__AVR__)
|
||||
# include <avr/io.h>
|
||||
# if defined(AUDIO_DRIVER_PWM)
|
||||
# include "driver_avr_pwm.h"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(PROTOCOL_CHIBIOS)
|
||||
# if defined(AUDIO_DRIVER_PWM)
|
||||
# include "driver_chibios_pwm.h"
|
||||
# elif defined(AUDIO_DRIVER_DAC)
|
||||
# include "driver_chibios_dac.h"
|
||||
# endif
|
||||
#if defined(AUDIO_DRIVER_PWM)
|
||||
# include "audio_pwm.h"
|
||||
#elif defined(AUDIO_DRIVER_DAC)
|
||||
# include "audio_dac.h"
|
||||
#endif
|
||||
|
||||
typedef union {
|
||||
|
|
Loading…
Reference in New Issue