Merge branch 'master' into master

pull/24/head
Guenael, VA2GKA 2021-11-30 18:46:40 -05:00 zatwierdzone przez GitHub
commit 2cacc42659
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
5 zmienionych plików z 8 dodań i 8 usunięć

Wyświetl plik

@ -22,7 +22,7 @@ https://www.nooelec.com/store/nesdr-smart.html
- Repeat...
## Installation
1. Install a Linux compatible disto on your device (ex. Raspbian for RaspberryPi)
1. Install a Linux compatible distro on your device (ex. Raspbian for RaspberryPi)
1. Install dependencies & useful tools (for example, NTP for time synchronization)
```
sudo apt-get install build-essential cmake libfftw3-dev libusb-1.0-0-dev curl libcurl4-gnutls-dev ntp

2
fano.c
Wyświetl plik

@ -61,7 +61,7 @@ struct node {
* and easier than trying to pack them more compactly.
*/
int encode(
unsigned char *symbols, // Output buffer, 2*nbytes
unsigned char *symbols, // Output buffer, 2*8*nbytes
unsigned char *data, // Input buffer, nbytes
unsigned int nbytes) { // Number of bytes in data
unsigned long encstate;

Wyświetl plik

@ -5,7 +5,7 @@
*------------------------------------------------------------------------------
*
* This file is part of the WSPR application, Weak Signal Propogation Reporter
* This file is part of the WSPR application, Weak Signal Propagation Reporter
*
* File Name: nhash.c
* Description: Functions to produce 32-bit hashes for hash table lookup
@ -234,7 +234,7 @@ uint32_t nhash( const void *key, size_t length, uint32_t initval) {
* rest of the string. Every machine with memory protection I've seen
* does it on word boundaries, so is OK with this. But VALGRIND will
* still catch it and complain. The masking trick does make the hash
* noticably faster for short strings (like English words).
* noticeably faster for short strings (like English words).
*/
#ifndef VALGRIND

Wyświetl plik

@ -126,7 +126,7 @@ static void rtlsdr_callback(unsigned char *samples, uint32_t samples_count, void
//sigIn[i] = (int8_t)((int32_t)samples[i] - 127);
/* Economic mixer @ fs/4 (upper band)
At fs/4, sin and cosin calculation are no longueur necessary.
At fs/4, sin and cosin calculation are no longer necessary.
0 | pi/2 | pi | 3pi/2
----------------------------
@ -170,7 +170,7 @@ static void rtlsdr_callback(unsigned char *samples, uint32_t samples_count, void
continue;
}
// FIXME/TODO : some optimisition here
// FIXME/TODO : some optimization here
/* 1st Comb */
Iy1 = Ix2 - It1z;
It1z = It1y;
@ -381,7 +381,7 @@ void initDecoder_options() {
/* Default options for the receiver */
void initrx_options() {
rx_options.gain = 29;
rx_options.gain = 290;
rx_options.autogain = 0;
rx_options.ppm = 0;
rx_options.shift = 0;

Wyświetl plik

@ -300,7 +300,7 @@ int get_wspr_channel_symbols(char* rawmessage, char* hashtab, unsigned char* sym
// printf("Will decode as: %s\n",check_call_loc_pow);
unsigned int nbytes=11; // The message with tail is packed into 11 bytes.
unsigned int nencoded=162;
unsigned int nencoded=(nbytes * 2 * 8); // This is how much encode() writes
unsigned char channelbits[nencoded];
memset(channelbits,0,sizeof(char)*nencoded);