Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/Makefile b/Makefile
- new file mode 100644
- index 0000000..537abbf
- --- /dev/null
- +++ b/Makefile
- @@ -0,0 +1,39 @@
- +# SPDX-License-Identifier: Unlicense
- +
- +CFLAGS = -O2 -Wall -I/usr/local/include
- +LDFLAGS = -L/usr/local/lib -lusb -lwiringPi -lwiringPiDev -lcrypto
- +
- +ALL = dmonitor repeater_mon repeater_mon_light \
- + repeater_scan rpt_conn dstar_ntpdate
- +
- +ALL: $(ALL)
- +
- +clean:
- + $(RM) -rf $(ALL) *.o
- +
- +DMONITOR_OBJ = main.o dmonitor_utils.o init.o dmonitor_cmd.o \
- + inet_read.o rig_read.o dvap_utils.o dvap.o \
- + dvap_conf.o dvmega.o dvmega_conf.o dstar_data.o \
- + crc.o send_msg.o dvmega_utils.o node_conf.o \
- + node_utils.o from_node.o send_node.o PICinfo.o \
- + lcd.o
- +
- +dmonitor: $(DMONITOR_OBJ)
- + $(CC) $(DMONITOR_OBJ) $(LDFLAGS) -o $@
- +
- +repeater_mon: repeater_mon.o
- +
- +repeater_mon_light: repeater_mon_light.o
- +
- +repeater_scan: repeater_scan.o
- +
- +RPT_CONN_OBJ = rpt_conn.o rpt_conn_utils.o rpt_conn_dvap.o \
- + rpt_dvap_utils.o rpt_conn_dvmega.o \
- + rpt_dvmega_utils.o rpt_conn_rig.o \
- + rpt_node_utils.o rpt_conn_send_msg.o \
- + rpt_conn_scan.o crc.o rpt_conn_lcd.o
- +
- +rpt_conn: $(RPT_CONN_OBJ)
- + $(CC) $(RPT_CONN_OBJ) $(LDFLAGS) -o $@
- +
- +dstar_ntpdate: dstar_ntpdate.o
- diff --git a/dmonitor.h b/dmonitor.h
- index daa4ecc..de2f346 100644
- --- a/dmonitor.h
- +++ b/dmonitor.h
- @@ -74,7 +74,7 @@ void rig_fifo_check (void);
- int sig_term;
- sigset_t save_sig;
- -sigset_t sigset;
- +//sigset_t sigset;
- fd_set read_set;
- fd_set fd_save;
- diff --git a/node.h b/node.h
- new file mode 100644
- index 0000000..8732e05
- --- /dev/null
- +++ b/node.h
- @@ -0,0 +1,37 @@
- +// SPDX-License-Identifier: Unlicense
- +
- +#define AlterHeader 0x00
- +#define AutoRXDetect 0x00
- +#define COS_OnOff 0x00
- +#define COS_SW 0x00
- +#define CRC_ERROR 0x00
- +#define CRC_SW 0x00
- +#define GET_AD_STATUS 0x00
- +#define GET_DATA 0x00
- +#define GET_DelayTime 0x00
- +#define GET_HEADER 0x00
- +#define GET_INVERT_STATUS 0x00
- +#define GET_MODE 0x00
- +#define GET_MODE2 0x00
- +#define GET_REMAINSPACE 0x00
- +#define GET_SERIAL_NO 0x00
- +#define GET_USERID 0x00
- +#define GET_VERSION 0x00
- +#define HeaderDecodeDone 0x00
- +#define HeaderGen 0x00
- +#define OFF 0x00
- +#define ON 0x00
- +#define PTT_OnOff 0x00
- +#define PUT_DATA 0x00
- +#define RX_INV 0x00
- +#define SET_DelayTime 0x00
- +#define SET_FLAGS 0x00
- +#define SET_MyCALL 0x00
- +#define SET_MyCALL2 0x00
- +#define SET_PTT 0x00
- +#define SET_RPT1CALL 0x00
- +#define SET_RPT2CALL 0x00
- +#define SET_RX_INVERT 0x00
- +#define SET_TX_INVERT 0x00
- +#define SET_YourCALL 0x00
- +#define TX_INV 0x00
- diff --git a/rpt_conn.h b/rpt_conn.h
- index f7e1b74..64df6c6 100644
- --- a/rpt_conn.h
- +++ b/rpt_conn.h
- @@ -56,7 +56,7 @@ int sig_term;
- char connect_call[8];
- sigset_t save_sig;
- -sigset_t sigset;
- +//sigset_t sigset;
- fd_set read_set;
- fd_set fd_save;
- diff --git a/rpt_conn_lcd.c b/rpt_conn_lcd.c
- new file mode 100644
- index 0000000..38f6479
- --- /dev/null
- +++ b/rpt_conn_lcd.c
- @@ -0,0 +1,4 @@
- +// SPDX-License-Identifier: Unlicense
- +
- +void lcd_init(void) {}
- +void lcd_write(void) {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement