Update main.cpp fix types

fc-cpp
Alan Johnston 11 months ago committed by GitHub
parent 60e9483939
commit df2eb9c9e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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 */

Loading…
Cancel
Save

Powered by TurnKey Linux.