modified to suppress debug prints if not needed

This commit is contained in:
Markus Fröschle
2013-12-07 06:57:50 +00:00
parent 734e415f08
commit eb809cf7b4

View File

@@ -33,7 +33,7 @@
#include "interrupts.h" #include "interrupts.h"
#include "wait.h" #include "wait.h"
#define DEBUG_PCI // #define DEBUG_PCI
#ifdef DEBUG_PCI #ifdef DEBUG_PCI
#define debug_printf(format, arg...) do { xprintf("DEBUG: " format "\r\n", ##arg); } while (0) #define debug_printf(format, arg...) do { xprintf("DEBUG: " format "\r\n", ##arg); } while (0)
#else #else