mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-30 21:02:32 +01:00 
			
		
		
		
	remove SERIAL_SOFT_DEBUG macro (#7625)
SERIAL_SOFT_DEBUG can be defined in the `config.h` Backported from tmk/tmk_keyboard@c74eee6327 x
This commit is contained in:
		
							parent
							
								
									80c2e26741
								
							
						
					
					
						commit
						1f26101f0e
					
				| @ -68,7 +68,6 @@ POSSIBILITY OF SUCH DAMAGE. | ||||
| #endif | ||||
| 
 | ||||
| /* debug for signal timing, see debug pin with oscilloscope */ | ||||
| #define SERIAL_SOFT_DEBUG | ||||
| #ifdef SERIAL_SOFT_DEBUG | ||||
| #    define SERIAL_SOFT_DEBUG_INIT() (DDRD |= 1 << 7) | ||||
| #    define SERIAL_SOFT_DEBUG_TGL() (PORTD ^= 1 << 7) | ||||
| @ -169,7 +168,7 @@ void serial_send(uint8_t data) { | ||||
| /* detect edge of start bit */ | ||||
| ISR(SERIAL_SOFT_RXD_VECT) { | ||||
|     SERIAL_SOFT_DEBUG_TGL(); | ||||
|     SERIAL_SOFT_RXD_INT_ENTER() | ||||
|     SERIAL_SOFT_RXD_INT_ENTER(); | ||||
| 
 | ||||
|     uint8_t data = 0; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Drashna Jaelre
						Drashna Jaelre