chiark
/
gitweb
/
~ianmdlvl
/
wiringPi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bf5e13
)
Tidying up some old debug
author
Gordon Henderson
<gordon@drogon.net>
Sat, 18 Aug 2012 12:53:01 +0000
(13:53 +0100)
committer
Gordon Henderson
<gordon@drogon.net>
Sat, 18 Aug 2012 12:53:01 +0000
(13:53 +0100)
wiringPi/wiringSerial.c
patch
|
blob
|
history
diff --git
a/wiringPi/wiringSerial.c
b/wiringPi/wiringSerial.c
index b401894053307d8a4a9cef13ed4a38716543fcab..28ec598e5645874ce8af79c43ad8345d7d8d2ac9 100644
(file)
--- a/
wiringPi/wiringSerial.c
+++ b/
wiringPi/wiringSerial.c
@@
-20,8
+20,6
@@
***********************************************************************
*/
-#undef DEBUG
-
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
@@
-49,10
+47,6
@@
int serialOpen (char *device, int baud)
speed_t myBaud ;
int status, fd ;
-#ifdef DEBUG
- printf ("openSerialPort: <%s> baud: $d\n", device, baud) ;
-#endif
-
switch (baud)
{
case 50: myBaud = B50 ; break ;