wip
This commit is contained in:
parent
934b28aa1f
commit
98ec981c98
14
src/irmc.c
14
src/irmc.c
|
@ -21,19 +21,6 @@
|
||||||
|
|
||||||
// raspi wiring: http://raspberrypiguide.de/howtos/raspberry-pi-gpio-how-to/
|
// raspi wiring: http://raspberrypiguide.de/howtos/raspberry-pi-gpio-how-to/
|
||||||
|
|
||||||
// Detect OSX
|
|
||||||
#ifdef __MACH__
|
|
||||||
#include <mach/clock.h>
|
|
||||||
#include <mach/mach.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Detect Raspi
|
|
||||||
#ifdef __ARM
|
|
||||||
#include <linux/ioctl.h>
|
|
||||||
#include <asm-generic/ioctl.h>
|
|
||||||
#include <asm-generic/termios.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//#define DEBUG 1
|
//#define DEBUG 1
|
||||||
|
|
||||||
#define MAXDATASIZE 1024 // max number of bytes we can get at once
|
#define MAXDATASIZE 1024 // max number of bytes we can get at once
|
||||||
|
@ -64,7 +51,6 @@ char last_sender[16];
|
||||||
int translate = 1;
|
int translate = 1;
|
||||||
int audio_status = 1;
|
int audio_status = 1;
|
||||||
|
|
||||||
|
|
||||||
int kbhit (void)
|
int kbhit (void)
|
||||||
{
|
{
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
|
Loading…
Reference in New Issue