aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/stm32/traceswo.c
diff options
context:
space:
mode:
authorGareth McMullin2015-03-01 22:16:04 -0800
committerGareth McMullin2015-03-01 22:16:04 -0800
commit4d4813de87721528fc9a06174dd1da5c245ae2f3 (patch)
tree298266ed212f574b51d21d5b3fa18d37a4388907 /src/platforms/stm32/traceswo.c
parent9d80641261cee52fdf1976caa41d4fd24c392c9a (diff)
Clean up includes everywhere.
All source files include general.h first and before anything else. This inlcludes platform.h and platform_support.h No header file needs to include to include any of these, but should include any others needed for it's own declarations.
Diffstat (limited to 'src/platforms/stm32/traceswo.c')
-rw-r--r--src/platforms/stm32/traceswo.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/platforms/stm32/traceswo.c b/src/platforms/stm32/traceswo.c
index 29bae8f..a2e704d 100644
--- a/src/platforms/stm32/traceswo.c
+++ b/src/platforms/stm32/traceswo.c
@@ -32,15 +32,12 @@
* The core can then process the buffer to extract the frame.
*/
#include "general.h"
+#include "cdcacm.h"
#include <libopencm3/cm3/nvic.h>
#include <libopencm3/stm32/timer.h>
#include <libopencm3/stm32/f1/rcc.h>
-#include <string.h>
-#include "platform.h"
-#include "cdcacm.h"
-
void traceswo_init(void)
{
TRACE_TIM_CLK_EN();