This commit is contained in:
2025-08-27 08:13:20 -04:00
parent 7367171767
commit dc961ce480
6 changed files with 7 additions and 29 deletions
+1 -5
View File
@@ -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);
}