debug print

This commit is contained in:
vivek-shankar 2017-01-26 19:52:26 -05:00
parent fc27a46342
commit 32718681c0
1 changed files with 2 additions and 2 deletions

View File

@ -562,9 +562,9 @@ inline void CommunicationManager::Send_Mavlink_Message_Callback(
std::cout << "checksum:" <<total << std::endl;
header=0;
header = 0 | ((uint64_t)check_sum << 16) | ((uint64_t)number << 32) |((uint64_t) total << 48) ;
header_16 = u64_cvt_u16(header);
delete[] header_16;
header_16 = u64_cvt_u16(header);
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);
converted_bytes = sprintf(
temporary_buffer, "%" PRIu64 " ",