Adding clear screen before usb initializes
- Easier to debug USB initialization
This commit is contained in:
parent
9a85f92a43
commit
55892cedc1
@ -365,13 +365,14 @@ void Output_usbCodeSend_capability( uint8_t state, uint8_t stateType, uint8_t *a
|
||||
// USB Module Setup
|
||||
inline void Output_setup()
|
||||
{
|
||||
// Setup UART
|
||||
uart_serial_setup();
|
||||
print("\033[2J"); // Clear screen
|
||||
|
||||
// Initialize the USB, and then wait for the host to set configuration.
|
||||
// This will hang forever if USB does not initialize
|
||||
usb_init();
|
||||
|
||||
// Setup UART
|
||||
uart_serial_setup();
|
||||
|
||||
while ( !usb_configured() );
|
||||
|
||||
// Register USB Output CLI dictionary
|
||||
|
Reference in New Issue
Block a user