diff options
author | Paul Selkirk <paul@psgd.org> | 2016-08-23 11:29:26 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-08-23 11:29:26 -0400 |
commit | 1f00be95e861f87b625ed7fe39823dde3230ca98 (patch) | |
tree | d1f05db149b79d7183137fecd2cef3d988b69d7b /projects/hsm/mgmt-cli.c | |
parent | 99c0a0a3b7e2b9f3222e93190564724e6177a6f2 (diff) |
Show running threads.
Diffstat (limited to 'projects/hsm/mgmt-cli.c')
-rw-r--r-- | projects/hsm/mgmt-cli.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/projects/hsm/mgmt-cli.c b/projects/hsm/mgmt-cli.c index 539ba4c..ee1b31b 100644 --- a/projects/hsm/mgmt-cli.c +++ b/projects/hsm/mgmt-cli.c @@ -49,6 +49,7 @@ #include "mgmt-misc.h" #include "mgmt-keystore.h" #include "mgmt-masterkey.h" +#include "mgmt-thread.h" #undef HAL_OK #define HAL_OK LIBHAL_OK @@ -106,7 +107,6 @@ void HAL_UART1_RxCpltCallback(UART_HandleTypeDef *huart) { ringbuf_write_char(&uart_ringbuf, uart_rx); osSemaphoreRelease(uart_sem); - HAL_UART_Receive_DMA(huart, &uart_rx, 1); } static void uart_cli_print(struct cli_def *cli __attribute__ ((unused)), const char *buf) @@ -196,6 +196,7 @@ int cli_main(void) configure_cli_firmware(cli); configure_cli_bootloader(cli); configure_cli_misc(cli); + configure_cli_thread(cli); while (1) { control_mgmt_uart_dma_rx(DMA_RX_START); |