diff --git a/src/main.c b/src/main.c index eb93056..39fe9fc 100644 --- a/src/main.c +++ b/src/main.c @@ -25,7 +25,7 @@ #define CLK_SYS_HZ (320 * MHZ) #define RX_PIN 10 -#define FB_PIN 11 +#define FB_PIN 6 #define PSU_PIN 23 #define PIO pio0 @@ -56,7 +56,7 @@ static int frequency = INIT_FREQ; static int sample_rate = INIT_SAMPLE_RATE; #define BASE_GAIN (1 << 15) -#define ATTN_BITS 10 +#define ATTN_BITS 12 #define DECIMATE 4 static int gain = BASE_GAIN / (CLK_SYS_HZ / INIT_SAMPLE_RATE);