1
0
Fork 0

quantum: remove direct quantum.h includes (#21507)

This commit is contained in:
Ryan 2023-07-16 23:42:56 +10:00 committed by GitHub
parent b9e5895184
commit da2d2f947d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 208 additions and 62 deletions

View file

@ -15,13 +15,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#if defined(__AVR__)
# include <avr/pgmspace.h>
# include <avr/interrupt.h>
# include <avr/io.h>
#endif
#include "audio.h"
#include "gpio.h"
#include <avr/interrupt.h>
extern bool playing_note;
extern bool playing_melody;

View file

@ -16,8 +16,9 @@
*/
#include "audio.h"
#include <ch.h>
#include <hal.h>
#include "gpio.h"
#include <math.h>
#include "util.h"
// Need to disable GCC's "tautological-compare" warning for this file, as it causes issues when running `KEEP_INTERMEDIATES=yes`. Corresponding pop at the end of the file.
#pragma GCC diagnostic push

View file

@ -16,8 +16,7 @@
*/
#include "audio.h"
#include "ch.h"
#include "hal.h"
#include "gpio.h"
// Need to disable GCC's "tautological-compare" warning for this file, as it causes issues when running `KEEP_INTERMEDIATES=yes`. Corresponding pop at the end of the file.
#pragma GCC diagnostic push

View file

@ -12,8 +12,7 @@
// function.
#include "audio.h"
#include "ch.h"
#include "hal.h"
#include "gpio.h"
#if !defined(AUDIO_PIN)
# error "Audio feature enabled, but no pin selected - see docs/feature_audio under the ARM PWM settings"

View file

@ -25,8 +25,7 @@ this driver uses the chibios-PWM system to produce a square-wave on any given ou
*/
#include "audio.h"
#include "ch.h"
#include "hal.h"
#include "gpio.h"
#if !defined(AUDIO_PIN)
# error "Audio feature enabled, but no pin selected - see docs/feature_audio under the ARM PWM settings"