cleanup
This commit is contained in:
+1
-5
@@ -73,6 +73,7 @@ void usb_device_main(void) {
|
||||
device_state = DEVICE_INACTIVE;
|
||||
usb_device_init();
|
||||
|
||||
// start the web server on USB
|
||||
usb_server_init();
|
||||
|
||||
while (true) {
|
||||
@@ -252,8 +253,3 @@ void cdc_print_hex(uint8_t const* msg, uint16_t msg_len) {
|
||||
}
|
||||
tud_cdc_write_str("\n");
|
||||
}
|
||||
|
||||
// print message to CDC
|
||||
void cdc_print(uint8_t const* msg, uint16_t msg_len) {
|
||||
tud_cdc_write(msg, msg_len);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user