small docs
This commit is contained in:
parent
6bb99d67a9
commit
f3a0bc1c2f
|
|
@ -46,7 +46,7 @@ static volatile uint32_t *pad_reg;
|
||||||
#else
|
#else
|
||||||
#error Unknown Raspberry Pi version (variable PI)
|
#error Unknown Raspberry Pi version (variable PI)
|
||||||
#endif
|
#endif
|
||||||
|
//i dunno it for pi 5, but rp1 is gonna steer the io: https://datasheets.raspberrypi.com/rp1/rp1-peripherals.pdf
|
||||||
#define SUBSIZE 512
|
#define SUBSIZE 512
|
||||||
#define DATA_SIZE 5000
|
#define DATA_SIZE 5000
|
||||||
#define PAD_LEN (0x40/4) //0x64
|
#define PAD_LEN (0x40/4) //0x64
|
||||||
|
|
@ -227,11 +227,8 @@ int main(int argc, char **argv) {
|
||||||
double preemp = 50e-6; //eu
|
double preemp = 50e-6; //eu
|
||||||
int deviation = 75000;
|
int deviation = 75000;
|
||||||
int alternative_freq[100] = {};
|
int alternative_freq[100] = {};
|
||||||
|
|
||||||
float ppm = 0;
|
float ppm = 0;
|
||||||
|
|
||||||
int custom_deviation = 0;
|
int custom_deviation = 0;
|
||||||
|
|
||||||
// Parse command-line arguments
|
// Parse command-line arguments
|
||||||
for(int i=1; i<argc; i++) {
|
for(int i=1; i<argc; i++) {
|
||||||
char *arg = argv[i];
|
char *arg = argv[i];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue