Commit d973f753 authored by Manolis Surligas's avatar Manolis Surligas

Merge pull request #24 from GVardakis/next

Small change to hex print
parents c63b095b fb9f8875
......@@ -46,7 +46,7 @@ namespace gr {
case 1:
//for(size_t i=0; i< pmt::blob_length(msg); i++)
for (size_t i = 0; i < s.length(); ++i)
std::cout << "0x" << std::hex<< std::setfill('0') << std::setw(2)<< std::dec <<(int)s[i] << " ";
printf("0x%02x ",s[i]);
std::cout<<std::endl;
break;
case 2:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment