commit | eb9460542e2b688bd7adb871779cc8e8f17ef82a | [log] [tgz] |
---|---|---|
author | Travis Geiselbrecht <geist@foobox.com> | Sun Sep 07 22:32:49 2008 -0700 |
committer | Travis Geiselbrecht <geist@foobox.com> | Sat Sep 13 15:21:57 2008 -0700 |
tree | e67b185097b1cbd018affbf63316116cbf82e567 | |
parent | 8d529ef70a12f2bb53bf291b7588d0826ac4be50 [diff] [blame] |
[IO] rework dprintf to take a debug level, defined in DEBUGLEVEL printf at the moment just calls dprintf, but soon will become a seperate I/O queue.
diff --git a/platform/at91sam7/debug.c b/platform/at91sam7/debug.c index 2cca7b3..ad8f262 100644 --- a/platform/at91sam7/debug.c +++ b/platform/at91sam7/debug.c
@@ -64,12 +64,12 @@ } } -void dputc(char c) +void _dputc(char c) { ser_putc(c); } -void debug_halt() +void platform_halt() { arch_disable_ints(); for(;;);