summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-12-03 11:01:24 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-12-03 11:01:24 +0100
commit51c4aca4432963af11db0d85b9ddb4ff2d50fc60 (patch)
treebb3792da39c6ff23c4f90fbf032450bb992db71f /src/app
parentd244dbee97d17031d4e22c06f7e31f3b17764440 (diff)
prototest: only include counter when needed
Diffstat (limited to 'src/app')
-rw-r--r--src/app/prototest/main.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/app/prototest/main.cc b/src/app/prototest/main.cc
index 24e96ac..13f52e7 100644
--- a/src/app/prototest/main.cc
+++ b/src/app/prototest/main.cc
@@ -1,7 +1,10 @@
#include "arch.h"
#include "driver/gpio.h"
#include "driver/stdout.h"
-//#include "driver/counter.h"
+
+#ifdef PROTOTEST_BENCH_CYCLES
+#include "driver/counter.h"
+#endif
#ifdef PROTOTEST_ARDUINOJSON
#include "lib/ArduinoJson.h"
@@ -71,7 +74,7 @@ int main(void)
gpio.setup();
kout.setup();
- gpio.led_on(0);
+ //gpio.led_on(0);
kout << "Hello, World!" << endl;
#if defined(PROTOTEST_BENCH_CYCLES) and (defined(MULTIPASS_ARCH_arduino_nano) or defined(MULTIPASS_ARCH_msp430fr5969lp))