Skip to content

Commit

Permalink
Merge branch 'shell-write-string' of https://github.com/borisxm/bluep…
Browse files Browse the repository at this point in the history
…ill-serial-monster into shell-write-string
  • Loading branch information
vnodeng committed Dec 2, 2020
2 parents d693a74 + 34b6e5d commit 2060d00
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions usb_cdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,10 @@ void cdc_shell_write(const void *buf, size_t count) {
}
}

void cdc_shell_write_string(const char *buf) {
cdc_shell_write(buf, strlen(buf));
}

/* USB USART TX Functions */

static void usb_cdc_port_start_tx(int port) {
Expand Down

0 comments on commit 2060d00

Please sign in to comment.