rc433/recv.c

changeset 23
d820a6f3ec16
parent 20
f7f9463cdefd
child 29
ac763b87ee25
equal deleted inserted replaced
22:a3b058c67289 23:d820a6f3ec16
21 *****************************************************************************/ 21 *****************************************************************************/
22 22
23 #include "../lib/mbselib.h" 23 #include "../lib/mbselib.h"
24 #include "recv.h" 24 #include "recv.h"
25 25
26
27 #ifdef HAVE_WIRINGPI_H
26 28
27 int main(int argc, char *argv[]) { 29 int main(int argc, char *argv[]) {
28 30
29 /* 31 /*
30 input PIN is hardcoded for testing purposes 32 input PIN is hardcoded for testing purposes
59 } 61 }
60 62
61 return 0; 63 return 0;
62 } 64 }
63 65
66 #else
67
68 int main(int argc, char *argv[]) {
69 fprintf(stderr, "This program does nothing without the wiringPi library\n");
70 return 0;
71 }
72
73 #endif
74

mercurial