From bb2955ea4bb5c0f9431653351a47b373a2391389 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 4 Sep 2011 02:12:45 +0200 Subject: Added systick based sleep(). --- thread.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'thread.cpp') diff --git a/thread.cpp b/thread.cpp index 7839a19..a08bd61 100644 --- a/thread.cpp +++ b/thread.cpp @@ -25,11 +25,6 @@ inline void __attribute__((naked)) switch_context() { asm volatile ("pop {r4, r5, r6, r7, r8, r9, r10, r11, pc}" ::: "memory"); } -template<> -void interrupt() { - switch_context(); -} - template<> void interrupt() { switch_context(); -- cgit v1.2.3