freemyipod r44 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r43‎ | r44 | r45 >
Date:01:09, 7 August 2010
Author:theseven
Status:new
Tags:
Comment:
Add DEBUGF macro
Modified paths:
  • /embios/trunk/global.h (modified) (history)
  • /embios/trunk/init.c (modified) (history)
  • /embios/trunk/target/ipodnano2g/config.h (modified) (history)

Diff [purge]

Index: embios/trunk/init.c
@@ -45,4 +45,5 @@
4646 i2c_init();
4747 pmu_init();
4848 usb_init();
 49+ DEBUGF("init completed!");
4950 }
\ No newline at end of file
Index: embios/trunk/global.h
@@ -47,6 +47,7 @@
4848
4949 #include "config.h"
5050 #include "target.h"
 51+#include "debug.h"
5152
5253 #ifndef SCHEDULER_TICK
5354 #define SCHEDULER_TICK 1048576
Index: embios/trunk/target/ipodnano2g/config.h
@@ -21,8 +21,18 @@
2222 //
2323
2424
 25+#ifndef __CONFIG_H__
 26+#define __CONFIG_H__
 27+
 28+
2529 //#define NAND_DEBUG
2630 //#define NAND_TRACE
2731 //#define VFL_TRACE
2832 //#define FTL_TRACE
2933
 34+
 35+//#define DEBUG_CONSOLES 2
 36+//#define DEBUG_PRINT_SOURCE_LINE
 37+
 38+
 39+#endif
\ No newline at end of file