Skip to content

Commit

Permalink
ADD: cdc shell write prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
r2axz committed Nov 13, 2020
1 parent 5002dec commit 1687aa4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cdc_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ void cdc_shell_init() {
void cdc_shell_exit() {

}

void cdc_shell_write(const void *buf, size_t count) {

}
3 changes: 3 additions & 0 deletions cdc_shell.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#ifndef CDC_SHELL_H
#define CDC_SHELL_H

#include <stddef.h>

#define USB_SHELL_MAX_CMD_LINE_SIZE 0x100

void cdc_shell_init();
void cdc_shell_exit();
void cdc_shell_write(const void *buf, size_t count);

#endif /* CDC_SHELL_H */

0 comments on commit 1687aa4

Please # to comment.