Remove more unnecessary quantum.h includes (#23402)

This commit is contained in:
Ryan 2024-04-05 14:48:21 +11:00 committed by GitHub
parent f8a7a6848d
commit a14c03b96e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
60 changed files with 103 additions and 78 deletions

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

View file

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

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"