Commit 3b792997 authored by Christian Eichler's avatar Christian Eichler
Browse files

Cleanup main.c

parent 1f2f7029
......@@ -145,14 +145,11 @@ static void command_bch(char *arg) {
__set_BASEPRI(old_basepri);
P1_0_toggle();
usb_send("o:end ");
CDC_Device_USBTask(&VirtualSerial_CDC_Interface);
char buf[64] = {0};
uint64_to_string(buf, cycles);
usb_send2(buf, "\n");
usb_send3("o:end ", buf, "\n");
usb_flush();
CDC_Device_USBTask(&VirtualSerial_CDC_Interface);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment