Overhaul bootmagic logic to have single entrypoint (#8532)
* Relocate bootmagic logic to have single entrypoint * Align init of layer state
This commit is contained in:
		
							parent
							
								
									02dc3b6722
								
							
						
					
					
						commit
						a3cbc8a004
					
				
					 15 changed files with 227 additions and 153 deletions
				
			
		| 
						 | 
				
			
			@ -52,6 +52,7 @@
 | 
			
		|||
#include "action_layer.h"
 | 
			
		||||
#include "eeconfig.h"
 | 
			
		||||
#include "bootloader.h"
 | 
			
		||||
#include "bootmagic.h"
 | 
			
		||||
#include "timer.h"
 | 
			
		||||
#include "sync_timer.h"
 | 
			
		||||
#include "config_common.h"
 | 
			
		||||
| 
						 | 
				
			
			@ -283,15 +284,6 @@ bool     process_record_user(uint16_t keycode, keyrecord_t *record);
 | 
			
		|||
void     post_process_record_kb(uint16_t keycode, keyrecord_t *record);
 | 
			
		||||
void     post_process_record_user(uint16_t keycode, keyrecord_t *record);
 | 
			
		||||
 | 
			
		||||
#ifndef BOOTMAGIC_LITE_COLUMN
 | 
			
		||||
#    define BOOTMAGIC_LITE_COLUMN 0
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef BOOTMAGIC_LITE_ROW
 | 
			
		||||
#    define BOOTMAGIC_LITE_ROW 0
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
void bootmagic_lite(void);
 | 
			
		||||
 | 
			
		||||
void reset_keyboard(void);
 | 
			
		||||
 | 
			
		||||
void startup_user(void);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue