summaryrefslogtreecommitdiff
path: root/lib/util.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-05-31 21:53:35 +0000
committerChristian Pointner <equinox@spreadspace.org>2012-05-31 21:53:35 +0000
commita2c37177e8d1639c620750ce263f15a370bf961c (patch)
tree023bb9e972cf22378567b24718a142b874b4fca2 /lib/util.c
parentcleanup (diff)
fixed lib for chips without bootloader function... (more workaround than fix)
git-svn-id: https://svn.spreadspace.org/avr/trunk@54 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'lib/util.c')
-rw-r--r--lib/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util.c b/lib/util.c
index d927f8e..984d5c9 100644
--- a/lib/util.c
+++ b/lib/util.c
@@ -47,6 +47,8 @@ void cpu_init(void)
#define BOOTLOADER_VEC 0x1FC00
#elif defined(__BOARD_hhd70dongle__)
#define BOOTLOADER_VEC 0x3800
+#else
+ #define BOOTLOADER_VEC 0x0000
#endif
typedef void (*f_ptr_type)(void);