Don't send terminal RESET codes via serial - just set the foreground colour and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings.
This commit is contained in:
		
							parent
							
								
									cc879df4f0
								
							
						
					
					
						commit
						cf313989e6
					
				
					 13 changed files with 14 additions and 12 deletions
				
			
		|  | @ -50,7 +50,7 @@ int main(void) | |||
| 	 | ||||
| 	LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY); | ||||
| 
 | ||||
| 	puts_P(PSTR(ESC_RESET ESC_FG_CYAN "Bluetooth Host Demo running.\r\n" ESC_FG_WHITE)); | ||||
| 	puts_P(PSTR(ESC_FG_CYAN "Bluetooth Host Demo running.\r\n" ESC_FG_WHITE)); | ||||
| 		    | ||||
| 	for (;;) | ||||
| 	{ | ||||
|  |  | |||
|  | @ -43,7 +43,7 @@ int main(void) | |||
| 
 | ||||
| 	LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY); | ||||
| 
 | ||||
| 	puts_P(PSTR(ESC_RESET ESC_FG_CYAN "Printer Host Demo running.\r\n" ESC_FG_WHITE)); | ||||
| 	puts_P(PSTR(ESC_FG_CYAN "Printer Host Demo running.\r\n" ESC_FG_WHITE)); | ||||
| 	 | ||||
| 	for (;;) | ||||
| 	{ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dean Camera
						Dean Camera