diff --git a/main.cpp b/main.cpp index 8777a974..94b6d6b7 100644 --- a/main.cpp +++ b/main.cpp @@ -2243,8 +2243,8 @@ void get_tlm_fc() { /* create data, stream, and waveform buffers */ - unsigned char source_bytes[256]; - unsigned char encoded_bytes[650]; + U8 source_bytes[256]; + // U8 encoded_bytes[650]; int byte_count = 256; memset(source_bytes, 0xa5, sizeof(source_bytes)); @@ -2256,7 +2256,7 @@ void get_tlm_fc() { // const unsigned char *CCodecAO40::encode(unsigned char *source_bytes, int byte_count) CCodecAO40 ao40; - encoded_bytes = ao40.encode((unsigned char*)source_bytes, byte_count); + const U8* encoded_bytes = ao40.encode((unsigned char*)source_bytes, byte_count); /* convert to waveform buffer */