summaryrefslogtreecommitdiff
path: root/cts/gpio/th.c
blob: 7120a4da3e8e0846ab474d1619d1e68b2a1f00c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* 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 "common.h"
#include "watchdog.h"
#include "uart.h"
#include "timer.h"
#include "watchdog.h"
#include "dut_common.h"
#include "cts_common.h"

void cts_task(void)
{
	sync();
	CPRINTS("Successful Sync!");
	uart_flush_output();
	while (1) {
		watchdog_reload();
		sleep(1);
	}
}