diff options
author | Anton Staaf <robotboy@chromium.org> | 2014-07-01 08:51:58 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-07-03 02:52:35 +0000 |
commit | 2ebf92a0a84e259d86b7c29bed753ca068913aed (patch) | |
tree | beda3d52e3a8e9e0c4d53bd73251448afdf34950 /chip/stm32/dma.c | |
parent | c288fcf281d50af3f06808e67bf09d0bab67ec55 (diff) | |
download | chrome-ec-2ebf92a0a84e259d86b7c29bed753ca068913aed.tar.gz |
cprints: Revert some changes from CPRINTF to CPRINTS
These changes were made in files that did not have the [%T ... ]
pattern. These files were broken by the change because they still
contained uses of the CPRINTF macro. There were two options to fix
this, switch to the CPRINTS macro and get the timestamp added to
these strings, or switch those files back to defining the CPRINTF
macro. Switching back seems like the right thing since it doesn't
change the output of those debug messages.
This commit also adds newline termination to a few invocations of
CPRINTF that were missing it, but obviously wanted it.
This breakage is only visible with a particular set of CONFIG_
defines that no boards currently use.
Signed-off-by: Anton Staaf <robotboy@chromium.org>
BRANCH=none
TEST=make buildall -j
Change-Id: I784b52dc385b29f05d7b9bc1521e37597409153b
Reviewed-on: https://chromium-review.googlesource.com/206281
Reviewed-by: Vic Yang <victoryang@chromium.org>
Tested-by: Anton Staaf <robotboy@chromium.org>
Commit-Queue: Anton Staaf <robotboy@chromium.org>
Diffstat (limited to 'chip/stm32/dma.c')
-rw-r--r-- | chip/stm32/dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/dma.c b/chip/stm32/dma.c index 735ffbd326..e648b7418e 100644 --- a/chip/stm32/dma.c +++ b/chip/stm32/dma.c @@ -14,7 +14,7 @@ /* Console output macros */ #define CPUTS(outstr) cputs(CC_DMA, outstr) -#define CPRINTS(format, args...) cprints(CC_DMA, format, ## args) +#define CPRINTF(format, args...) cprintf(CC_DMA, format, ## args) /* Task IDs for the interrupt handlers to wake up */ static task_id_t id[STM32_DMAC_COUNT]; |