Remove quantum.h includes from keyboard code (#23394)
				
					
				
			This commit is contained in:
		
							parent
							
								
									408f6e43cd
								
							
						
					
					
						commit
						c635733a7f
					
				
					 60 changed files with 123 additions and 70 deletions
				
			
		| 
						 | 
				
			
			@ -4,6 +4,9 @@
 | 
			
		|||
#include "satisfaction_core.h"
 | 
			
		||||
#include "print.h"
 | 
			
		||||
#include "debug.h"
 | 
			
		||||
#include "matrix.h"
 | 
			
		||||
#include "quantum.h"
 | 
			
		||||
#include "encoder.h"
 | 
			
		||||
 | 
			
		||||
#include <ch.h>
 | 
			
		||||
#include <hal.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,7 +3,8 @@
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include "quantum.h"
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <stdbool.h>
 | 
			
		||||
 | 
			
		||||
#include "via.h" // only for EEPROM address
 | 
			
		||||
#include "satisfaction_keycodes.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,6 +2,7 @@
 | 
			
		|||
// SPDX-License-Identifier: GPL-2.0-or-later
 | 
			
		||||
 | 
			
		||||
#include "satisfaction_core.h"
 | 
			
		||||
#include "backlight.h"
 | 
			
		||||
#include "eeprom.h"
 | 
			
		||||
 | 
			
		||||
void pre_encoder_mode_change(void){
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,6 +2,14 @@
 | 
			
		|||
// SPDX-License-Identifier: GPL-2.0-or-later
 | 
			
		||||
 | 
			
		||||
#include "satisfaction_core.h"
 | 
			
		||||
#include "action_layer.h"
 | 
			
		||||
#include "action_util.h"
 | 
			
		||||
#include "timer.h"
 | 
			
		||||
#include "matrix.h"
 | 
			
		||||
#include "led.h"
 | 
			
		||||
#include "host.h"
 | 
			
		||||
#include "oled_driver.h"
 | 
			
		||||
#include "progmem.h"
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
 | 
			
		||||
void draw_default(void);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue