Remove legacy print backward compatiblitly (#11805)
* Remove legacy print backward compatiblitly * Remove legacy print backward compatiblitly - core * revert comment changes
This commit is contained in:
		
							parent
							
								
									c50ecb4bb0
								
							
						
					
					
						commit
						f5a38b95c1
					
				
					 71 changed files with 107 additions and 117 deletions
				
			
		| 
						 | 
				
			
			@ -550,22 +550,22 @@ static void mousekey_param_print(void) {
 | 
			
		|||
#    if !defined(NO_PRINT) && !defined(USER_PRINT)
 | 
			
		||||
    print("\n\t- Values -\n");
 | 
			
		||||
    print("1: delay(*10ms): ");
 | 
			
		||||
    pdec(mk_delay);
 | 
			
		||||
    print_dec(mk_delay);
 | 
			
		||||
    print("\n");
 | 
			
		||||
    print("2: interval(ms): ");
 | 
			
		||||
    pdec(mk_interval);
 | 
			
		||||
    print_dec(mk_interval);
 | 
			
		||||
    print("\n");
 | 
			
		||||
    print("3: max_speed: ");
 | 
			
		||||
    pdec(mk_max_speed);
 | 
			
		||||
    print_dec(mk_max_speed);
 | 
			
		||||
    print("\n");
 | 
			
		||||
    print("4: time_to_max: ");
 | 
			
		||||
    pdec(mk_time_to_max);
 | 
			
		||||
    print_dec(mk_time_to_max);
 | 
			
		||||
    print("\n");
 | 
			
		||||
    print("5: wheel_max_speed: ");
 | 
			
		||||
    pdec(mk_wheel_max_speed);
 | 
			
		||||
    print_dec(mk_wheel_max_speed);
 | 
			
		||||
    print("\n");
 | 
			
		||||
    print("6: wheel_time_to_max: ");
 | 
			
		||||
    pdec(mk_wheel_time_to_max);
 | 
			
		||||
    print_dec(mk_wheel_time_to_max);
 | 
			
		||||
    print("\n");
 | 
			
		||||
#    endif /* !NO_PRINT */
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -471,7 +471,7 @@ void mousekey_clear(void) {
 | 
			
		|||
static void mousekey_debug(void) {
 | 
			
		||||
    if (!debug_mouse) return;
 | 
			
		||||
    print("mousekey [btn|x y v h](rep/acl): [");
 | 
			
		||||
    phex(mouse_report.buttons);
 | 
			
		||||
    print_hex8(mouse_report.buttons);
 | 
			
		||||
    print("|");
 | 
			
		||||
    print_decs(mouse_report.x);
 | 
			
		||||
    print(" ");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -258,13 +258,3 @@ extern "C"
 | 
			
		|||
#    define print_val_bin_reverse32(v)
 | 
			
		||||
 | 
			
		||||
#endif /* NO_PRINT */
 | 
			
		||||
 | 
			
		||||
/* Backward compatiblitly for old name */
 | 
			
		||||
#define pdec(data) print_dec(data)
 | 
			
		||||
#define pdec16(data) print_dec(data)
 | 
			
		||||
#define phex(data) print_hex8(data)
 | 
			
		||||
#define phex16(data) print_hex16(data)
 | 
			
		||||
#define pbin(data) print_bin8(data)
 | 
			
		||||
#define pbin16(data) print_bin16(data)
 | 
			
		||||
#define pbin_reverse(data) print_bin_reverse8(data)
 | 
			
		||||
#define pbin_reverse16(data) print_bin_reverse16(data)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue