From 78bbab686ae6b6581330a2d852ee94bef0a213bc Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 19 Jan 2025 09:28:54 -0500 Subject: [PATCH] Update main.cpp changed to uint8_t --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 94b6d6b7..3215c9e1 100644 --- a/main.cpp +++ b/main.cpp @@ -2243,7 +2243,7 @@ void get_tlm_fc() { /* create data, stream, and waveform buffers */ - U8 source_bytes[256]; + uint8_t source_bytes[256]; // U8 encoded_bytes[650]; int byte_count = 256; @@ -2256,7 +2256,7 @@ void get_tlm_fc() { // const unsigned char *CCodecAO40::encode(unsigned char *source_bytes, int byte_count) CCodecAO40 ao40; - const U8* encoded_bytes = ao40.encode((unsigned char*)source_bytes, byte_count); + const uint8_t* encoded_bytes = ao40.encode((unsigned char*)source_bytes, byte_count); /* convert to waveform buffer */