diff options
author | Ryan <[email protected]> | 2024-03-31 01:07:19 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-30 14:07:19 +0000 |
commit | 2dd406f08fc5d9877c8fd2642e94975eae37e86f (patch) | |
tree | 97f1833428dff865e99a2332a9c779fc02ff803d /keyboards/planck | |
parent | 76bd5142cfed1fb8e07b9f32fb0b010fbc068fa4 (diff) | |
download | qmk_firmware-2dd406f08fc5d9877c8fd2642e94975eae37e86f.tar.gz qmk_firmware-2dd406f08fc5d9877c8fd2642e94975eae37e86f.zip |
Remove `quantum.h` includes from keyboard custom `matrix.c`s (#23371)
Diffstat (limited to 'keyboards/planck')
-rw-r--r-- | keyboards/planck/rev6_drop/matrix.c | 3 | ||||
-rw-r--r-- | keyboards/planck/rev7/matrix.c | 7 |
2 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/planck/rev6_drop/matrix.c b/keyboards/planck/rev6_drop/matrix.c index e31e473ae2..d140356738 100644 --- a/keyboards/planck/rev6_drop/matrix.c +++ b/keyboards/planck/rev6_drop/matrix.c @@ -15,7 +15,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "quantum.h" +#include "matrix.h" +#include "wait.h" /* matrix state(1:on, 0:off) */ static pin_t matrix_row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS; diff --git a/keyboards/planck/rev7/matrix.c b/keyboards/planck/rev7/matrix.c index 350ce93ce0..8cadfa5e8d 100644 --- a/keyboards/planck/rev7/matrix.c +++ b/keyboards/planck/rev7/matrix.c @@ -15,11 +15,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "gpio.h" -#include "hal_pal.h" -#include "hal_pal_lld.h" -#include "quantum.h" +#include "matrix.h" +#include <hal_pal.h> #include <math.h> +#include "wait.h" // STM32-specific watchdog config calculations // timeout = 31.25us * PR * (RL + 1) |