Remove quantum.h includes from keyboard code (#23394)

This commit is contained in:
Ryan 2024-04-03 10:44:25 +11:00 committed by GitHub
parent 408f6e43cd
commit c635733a7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
60 changed files with 123 additions and 70 deletions

View file

@ -40,19 +40,15 @@
#error wt_rgb_backlight.c compiled without setting configuration symbol
#endif
#ifndef MAX
#define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
#endif
#ifndef MIN
#define MIN(a,b) ((a) < (b)? (a): (b))
#endif
#include "quantum.h"
#include "wt_rgb_backlight.h"
#include "wt_rgb_backlight_api.h"
#include "wt_rgb_backlight_keycodes.h"
#include <stdlib.h>
#include "quantum.h"
#include "host.h"
#include "util.h"
#if !defined(RGB_BACKLIGHT_HS60) && !defined(RGB_BACKLIGHT_NK65) && !defined(RGB_BACKLIGHT_NK87) && !defined(RGB_BACKLIGHT_NEBULA68) && !defined(RGB_BACKLIGHT_NEBULA12) && !defined (RGB_BACKLIGHT_KW_MEGA)
#include <avr/interrupt.h>
#include "i2c_master.h"