]> cvs.zerfleddert.de Git - rsbs2/blobdiff - bmc/chassis.c
remove DEBUG printouts from non-debug build
[rsbs2] / bmc / chassis.c
index 5bdad1f511431f04fd996a42f3146cb5cb5eb334..fd488663d7ec3735efebe70a3a71cb0bc9356b9a 100644 (file)
@@ -3,8 +3,6 @@
 
 #include "chassis.h"
 
 
 #include "chassis.h"
 
-#define DEBUG
-
 void chassis_init()
 {
        DDRB = 0xff;
 void chassis_init()
 {
        DDRB = 0xff;
@@ -31,7 +29,9 @@ void chassis_control(unsigned char action)
                        break;
 
                default:
                        break;
 
                default:
+#ifdef DEBUG
                        printf("Unimplemented chassis action 0x%02x\n", action);
                        printf("Unimplemented chassis action 0x%02x\n", action);
+#endif
                        break;
        }
 }
                        break;
        }
 }
Impressum, Datenschutz