Migrate and remove deprecated debug utils (#22961)
This commit is contained in:
		
							parent
							
								
									728aa576b0
								
							
						
					
					
						commit
						a632593769
					
				
					 13 changed files with 26 additions and 127 deletions
				
			
		| 
						 | 
				
			
			@ -168,7 +168,7 @@ uint8_t get_serial_byte(void) {
 | 
			
		|||
    while(1) {
 | 
			
		||||
        code = uart_read();
 | 
			
		||||
        if (code) { 
 | 
			
		||||
            debug_hex(code); debug(" ");
 | 
			
		||||
            dprintf("%02X ", code);
 | 
			
		||||
            return code;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			@ -316,8 +316,7 @@ uint8_t matrix_scan(void)
 | 
			
		|||
   last_activity = timer_read();
 | 
			
		||||
   disconnect_counter=0; // if we are getting serial data, we're connected. 
 | 
			
		||||
 | 
			
		||||
    debug_hex(code); debug(" ");
 | 
			
		||||
 | 
			
		||||
    dprintf("%02X ", code);
 | 
			
		||||
 | 
			
		||||
    switch (code) {
 | 
			
		||||
        case 0xFD:  // unexpected reset byte 2
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue