From 101c3b33cb4ebce91239f5acf06daebe2bc3d6f5 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 23 May 2024 09:31:08 -0400 Subject: [PATCH] Update main.h add adc buffer from pico v0.33 --- main.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.h b/main.h index c3bd0501..11e30445 100644 --- a/main.h +++ b/main.h @@ -103,6 +103,10 @@ FILE * file1; short int buffer[2336400]; // max size for 10 frames count of BPSK FILE *sopen(const char *program); FILE *telem_file; +int adc_file; +#define BUFFER_SIZE 10000 +byte buffer[BUFFER_SIZE]; +unsigned long int wav_position = 0; #define S_RATE (48000) // (44100)