sort headers
This commit is contained in:
parent
d91a7b2a29
commit
2445a111f3
@ -40,6 +40,6 @@ struct data_packet_format{
|
||||
// Define the packets used
|
||||
#define DEFAULT_CHANNEL 103
|
||||
|
||||
|
||||
int prepare_id (struct data_packet_format *id_packet, char *id);
|
||||
int prepare_tx (struct data_packet_format *tx_packet, char *id);
|
||||
|
||||
|
27
src/irmc.c
27
src/irmc.c
@ -13,38 +13,35 @@
|
||||
#include <math.h>
|
||||
#include <fcntl.h>
|
||||
#include <pthread.h>
|
||||
#define BEEP_MORSE
|
||||
#ifdef BEEP_MORSE
|
||||
#include <morse/beep.h>
|
||||
#else
|
||||
#include "portaudio.h"
|
||||
#endif
|
||||
#ifdef __MACH__
|
||||
#else
|
||||
#include <linux/ioctl.h>
|
||||
#include <asm-generic/ioctl.h>
|
||||
#include <asm-generic/termios.h>
|
||||
#endif
|
||||
#include <signal.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define BEEP_MORSE
|
||||
#ifdef BEEP_MORSE
|
||||
#include <morse/beep.h>
|
||||
#else
|
||||
#include "portaudio.h"
|
||||
#endif
|
||||
|
||||
#ifdef __MACH__
|
||||
#include <mach/clock.h>
|
||||
#include <mach/mach.h>
|
||||
#else
|
||||
#include <linux/ioctl.h>
|
||||
#include <asm-generic/ioctl.h>
|
||||
#include <asm-generic/termios.h>
|
||||
#endif
|
||||
|
||||
#ifndef BEEP_MORSE // does not help!!
|
||||
#include "beep.h"
|
||||
#endif
|
||||
|
||||
//#define DEBUG 1
|
||||
|
||||
#define MAXDATASIZE 1024 // max number of bytes we can get at once
|
||||
|
||||
#include "cwprotocol.h"
|
||||
|
||||
struct command_packet_format connect_packet = {CON, DEFAULT_CHANNEL};
|
||||
struct command_packet_format disconnect_packet = {DIS, 0};
|
||||
struct data_packet_format id_packet;
|
||||
|
Loading…
Reference in New Issue
Block a user