Commits

Trammell Hudson committed 5e37292

Normal serial output seems to be working!

  • Participants
  • Parent commits 1fd8aaa

Comments (0)

Files changed (1)

 // 22 0000 BB90 4560 8B70 0007 8B79 AB90 0009 9DA8 BBAD CC99 8A9A 9AAAAABBCBBBBB
 	}
 	usb_serial_write(buf, sizeof(buf));
+	usb_serial_putchar('\r');
+	usb_serial_putchar('\n');
 #endif
 
 	return byte;
 
 	_delay_ms(500);
 
+/*
 	// wait for the user to run their terminal emulator program
 	// which sets DTR to indicate it is ready to receive.
 	while (!(usb_serial_get_control() & USB_SERIAL_DTR))
 		continue;
+*/
 
 	// discard anything that was received prior.  Sometimes the
 	// operating system or other software will send a modem
 
 		uint16_t byte = tty_in();
 #ifndef CONFIG_WAVEFORM
+#ifdef CONFIG_DEBUG_BYTES
 		usb_serial_putchar(hexdigit(byte >> 12));
 		usb_serial_putchar(hexdigit(byte >> 8));
 		usb_serial_putchar(hexdigit(byte >> 4));
 		usb_serial_putchar(hexdigit(byte >> 0));
 		usb_serial_putchar(' ');
+#endif
 		usb_serial_putchar((byte >> 2) & 0x7F);
 #endif
-		usb_serial_putchar('\r');
-		usb_serial_putchar('\n');
 		continue;
 
 	}