From 348526b5ba69e54f5d017c6d676d34791188e936 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Sat, 4 Jun 2016 09:29:40 +0200 Subject: [PATCH] [Horus] Just one DMA trace added to the CLI to start with something... --- radio/src/cli.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radio/src/cli.cpp b/radio/src/cli.cpp index 5213ec04f..7ff7115e6 100644 --- a/radio/src/cli.cpp +++ b/radio/src/cli.cpp @@ -613,6 +613,10 @@ int cliDisplay(const char ** argv) serialPrint(" CCR4 0x%x", tim->CCR4); } } + else if (!strcmp(argv[1], "dma")) { + serialPrint("DMA1_Stream7"); + serialPrint(" CR 0x%x", DMA1_Stream7->CR); + } #if defined(DEBUG_INTERRUPTS) else if (!strcmp(argv[1], "int")) { printInterrupts();