kopia lustrzana https://github.com/Guenael/rtlsdr-wsprd
chore(files): moving wsprd files in a single directory
rodzic
dba15d4cc1
commit
6f73090338
4
Makefile
4
Makefile
|
@ -2,7 +2,7 @@ CC = gcc
|
||||||
CFLAGS= -Wall -O3 -ffast-math -std=gnu17
|
CFLAGS= -Wall -O3 -ffast-math -std=gnu17
|
||||||
LIBS = -lusb-1.0 -lrtlsdr -lpthread -lfftw3f -lcurl -lm
|
LIBS = -lusb-1.0 -lrtlsdr -lpthread -lfftw3f -lcurl -lm
|
||||||
|
|
||||||
OBJS = rtlsdr_wsprd.o wsprd.o wsprsim_utils.o wsprd_utils.o tab.o fano.o nhash.o
|
OBJS = rtlsdr_wsprd.o wsprd/wsprd.o wsprd/wsprsim_utils.o wsprd/wsprd_utils.o wsprd/tab.o wsprd/fano.o wsprd/nhash.o
|
||||||
|
|
||||||
TARGETS = rtlsdr_wsprd
|
TARGETS = rtlsdr_wsprd
|
||||||
|
|
||||||
|
@ -17,4 +17,4 @@ rtlsdr_wsprd: $(OBJS)
|
||||||
$(CC) -o $@ $^ $(LIBS)
|
$(CC) -o $@ $^ $(LIBS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o $(TARGETS) wspr_wisdom.dat hashtable.txt
|
rm -f *.o wsprd/*.o $(TARGETS) wspr_wisdom.dat hashtable.txt
|
|
@ -43,7 +43,7 @@
|
||||||
#include <rtl-sdr.h>
|
#include <rtl-sdr.h>
|
||||||
|
|
||||||
#include "./rtlsdr_wsprd.h"
|
#include "./rtlsdr_wsprd.h"
|
||||||
#include "./wsprd.h"
|
#include "wsprd/wsprd.h"
|
||||||
|
|
||||||
|
|
||||||
/* Sampling definition for RTL devices */
|
/* Sampling definition for RTL devices */
|
||||||
|
|
|
@ -73,7 +73,7 @@ on 1 byte), but shoehorning those bytes into integers efficiently is messy.
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "nhash.h"
|
#include "./nhash.h"
|
||||||
//#include <sys/param.h> /* attempt to define endianness */
|
//#include <sys/param.h> /* attempt to define endianness */
|
||||||
//#ifdef linux
|
//#ifdef linux
|
||||||
//# include <endian.h> /* attempt to define endianness */
|
//# include <endian.h> /* attempt to define endianness */
|
|
@ -37,12 +37,12 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <fftw3.h>
|
#include <fftw3.h>
|
||||||
|
|
||||||
#include "wsprd.h"
|
#include "./wsprd.h"
|
||||||
#include "fano.h"
|
#include "./fano.h"
|
||||||
#include "nhash.h"
|
#include "./nhash.h"
|
||||||
#include "wsprd_utils.h"
|
#include "./wsprd_utils.h"
|
||||||
#include "wsprsim_utils.h"
|
#include "./wsprsim_utils.h"
|
||||||
#include "metric_tables.h"
|
#include "./metric_tables.h"
|
||||||
|
|
||||||
|
|
||||||
#define DF 375.0 / 256.0
|
#define DF 375.0 / 256.0
|
|
@ -7,10 +7,10 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#include "wsprsim_utils.h"
|
#include "./wsprsim_utils.h"
|
||||||
#include "wsprd_utils.h"
|
#include "./wsprd_utils.h"
|
||||||
#include "nhash.h"
|
#include "./nhash.h"
|
||||||
#include "fano.h"
|
#include "./fano.h"
|
||||||
|
|
||||||
|
|
||||||
char get_locator_character_code(char ch) {
|
char get_locator_character_code(char ch) {
|
Ładowanie…
Reference in New Issue