aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test/mgmt-cli.h
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2016-07-09 21:53:39 +0200
committerFredrik Thulin <fredrik@thulin.net>2016-07-09 21:53:39 +0200
commit556dccb585c8e2023c35bb25d5009e36575ebd33 (patch)
tree57485316dfae50b58da0421506a1f3cbc13486b5 /projects/cli-test/mgmt-cli.h
parentdcc6cf1b97935bc3a663714f596cacba619a8b3d (diff)
Merge more code from projects/hsm.
Diffstat (limited to 'projects/cli-test/mgmt-cli.h')
-rw-r--r--projects/cli-test/mgmt-cli.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/projects/cli-test/mgmt-cli.h b/projects/cli-test/mgmt-cli.h
index 08dc731..a50e092 100644
--- a/projects/cli-test/mgmt-cli.h
+++ b/projects/cli-test/mgmt-cli.h
@@ -73,11 +73,7 @@ typedef enum {
DMA_RX_START,
} mgmt_cli_dma_state_t;
-extern void uart_cli_print(struct cli_def *cli __attribute__ ((unused)), const char *buf);
-extern int uart_cli_read(struct cli_def *cli __attribute__ ((unused)), void *buf, size_t count);
-extern int uart_cli_write(struct cli_def *cli __attribute__ ((unused)), const void *buf, size_t count);
-extern int embedded_cli_loop(struct cli_def *cli);
-extern void mgmt_cli_init(struct cli_def *cli);
extern int control_mgmt_uart_dma_rx(mgmt_cli_dma_state_t state);
+extern int cli_main(void);
#endif /* __STM32_MGMT_CLI_H */