debug print
This commit is contained in:
parent
fc27a46342
commit
32718681c0
|
@ -563,8 +563,8 @@ inline void CommunicationManager::Send_Mavlink_Message_Callback(
|
||||||
header=0;
|
header=0;
|
||||||
header = 0 | ((uint64_t)check_sum << 16) | ((uint64_t)number << 32) |((uint64_t) total << 48) ;
|
header = 0 | ((uint64_t)check_sum << 16) | ((uint64_t)number << 32) |((uint64_t) total << 48) ;
|
||||||
header_16 = u64_cvt_u16(header);
|
header_16 = u64_cvt_u16(header);
|
||||||
delete[] header_16;
|
|
||||||
std::cout << "Sent header" <<header_16[0]<<" "<<header_16[1]<<" "<<header_16[2]<<" "<<header_16[3]<<" "<< std::endl;
|
std::cout << "Sent header" <<header_16[0]<<" "<<header_16[1]<<" "<<header_16[2]<<" "<<header_16[3]<<" "<< std::endl;
|
||||||
|
delete[] header_16;
|
||||||
memset(temporary_buffer, 0, MAX_BUFFER_SIZE);
|
memset(temporary_buffer, 0, MAX_BUFFER_SIZE);
|
||||||
converted_bytes = sprintf(
|
converted_bytes = sprintf(
|
||||||
temporary_buffer, "%" PRIu64 " ",
|
temporary_buffer, "%" PRIu64 " ",
|
||||||
|
|
Reference in New Issue