diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2002-05-27 09:53:28 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2002-05-27 09:53:28 +0000 |
| commit | f43b27a93473011e96c91b17d7b02ea051055912 (patch) | |
| tree | f158c782f35af1cb0739ce535ce3397aa64afe5c | |
| parent | e3b2bc81028cde3a8d45cbb6a41b75315e17fda7 (diff) | |
| download | rockbox-f43b27a93473011e96c91b17d7b02ea051055912.zip rockbox-f43b27a93473011e96c91b17d7b02ea051055912.tar.gz rockbox-f43b27a93473011e96c91b17d7b02ea051055912.tar.bz2 rockbox-f43b27a93473011e96c91b17d7b02ea051055912.tar.xz | |
Don't call debug_init() unless in debug mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@733 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c index 9d710e0..0bfb00d 100644 --- a/apps/main.c +++ b/apps/main.c @@ -53,7 +53,9 @@ int init(void) dmalloc_initialize(); bmalloc_add_pool(poolstart, poolend-poolstart); +#ifdef DEBUG debug_init(); +#endif kernel_init(); set_irq_level(0); |