#ifndef CONTROLLER_WIRING_DEBUG_H #define CONTROLLER_WIRING_DEBUG_H #include #ifdef WIRING_PI_DEBUG #define wiringPiSetup() LOG_DEBUG("wiringPi wiringPiSetup()\n") #define wiringPiSetupSys() LOG_DEBUG("wiringPi wiringPiSetupSys()\n") #define pinMode(x,y) LOG_DEBUG("wiringPi pinMode(%d, %d)\n", x, y) #define digitalWrite(x,y) LOG_DEBUG("wiringPi digitalWrite(%d, %d)\n", x, y) #define piFaceSetup(x) LOG_DEBUG("wiringPi piFaceSetup(%d)\n", x) #endif #endif /* CONTROLLER_WIRING_DEBUG_H */