10 lines
349 B
C
10 lines
349 B
C
#ifndef CONTROLLER_WIRING_DEBUG_H
|
|
#define CONTROLLER_WIRING_DEBUG_H
|
|
|
|
#ifdef WIRING_PI_DEBUG
|
|
#define wiringPiSetup() LOG_INFO("wiringP wiringPiSetup()")
|
|
#define pinMode(x,y) LOG_INFO("wiringPi pinMode(%d, %d)", x, y)
|
|
#define digitalWrite(x,y) LOG_INFO("wiringPi digitalWrite(%d, %d)", x, y)
|
|
#endif
|
|
|
|
#endif /* CONTROLLER_WIRING_DEBUG_H */
|