aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--projects/hsm/mgmt-cli.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/hsm/mgmt-cli.c b/projects/hsm/mgmt-cli.c
index 10b260f..fd5c90a 100644
--- a/projects/hsm/mgmt-cli.c
+++ b/projects/hsm/mgmt-cli.c
@@ -51,7 +51,9 @@
#include "mgmt-keystore.h"
#include "mgmt-masterkey.h"
#include "mgmt-task.h"
+#ifdef DO_TIMING
#include "mgmt-timing.h"
+#endif
#undef HAL_OK
#define HAL_OK LIBHAL_OK
@@ -200,7 +202,9 @@ int cli_main(void)
configure_cli_bootloader(cli);
configure_cli_misc(cli);
configure_cli_task(cli);
+#ifdef DO_TIMING
configure_cli_timing(cli);
+#endif
while (1) {
control_mgmt_uart_dma_rx(DMA_RX_START);