sw: add initial tests for spi and rgb
These tests are still a work-in-progress, but they form the basis of what will be the factory test. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
@ -16,6 +16,9 @@ void cdc_set_connected(int is_connected)
|
||||
|
||||
void _putchar(char character)
|
||||
{
|
||||
if (character == '\n')
|
||||
_putchar('\r');
|
||||
|
||||
// Wait for buffer to be empty
|
||||
while (usb_ep_2_in_respond_read() == EPF_ACK)
|
||||
;
|
||||
|
Reference in New Issue
Block a user