blob: 1e4096f90c151994674eaf9a16f91219339717e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* Copyright (c) 2014 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.
*/
/* Keyborg board-specific configuration */
#include "board.h"
#include "common.h"
#include "debug.h"
#include "master_slave.h"
#include "registers.h"
#include "system.h"
#include "task.h"
#include "util.h"
int main(void)
{
int i = 0;
hardware_init();
debug_printf("Keyborg starting...\n");
master_slave_init();
while (1) {
i++;
task_wait_event(SECOND);
debug_printf("Timer check - %d seconds\n", i);
}
}
|