summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-09-04 02:13:08 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-09-04 02:13:08 +0200
commitadb9868498b93f89ae875df764d475c9f5c16049 (patch)
treedb75a02e39434330d465f4d3232e2c48d79a954f /main.cpp
parentbb2955ea4bb5c0f9431653351a47b373a2391389 (diff)
Added Thread::start().
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 040610c..d9faac1 100644
--- a/main.cpp
+++ b/main.cpp
@@ -108,6 +108,8 @@ int main() {
usart_enable();
+ thread.start();
+
while(1) {
// Wait for a new update.
while(!(TIM2.SR & 0x01)) {