summaryrefslogtreecommitdiff
path: root/cts/gpio/dut.c
diff options
context:
space:
mode:
Diffstat (limited to 'cts/gpio/dut.c')
-rw-r--r--cts/gpio/dut.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/cts/gpio/dut.c b/cts/gpio/dut.c
new file mode 100644
index 0000000000..bdcd4938f7
--- /dev/null
+++ b/cts/gpio/dut.c
@@ -0,0 +1,15 @@
+/* Copyright 2016 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "timer.h"
+#include "watchdog.h"
+
+void cts_task(void)
+{
+ while (1) {
+ watchdog_reload();
+ sleep(1);
+ }
+}