Skip to content
Snippets Groups Projects
Commit 629d6574 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

printing char properly

parent 0abf3f74
No related branches found
No related tags found
2 merge requests!20new tag,!19new tag
...@@ -134,7 +134,7 @@ static void Observations::print(obsd_t& _obs) ...@@ -134,7 +134,7 @@ static void Observations::print(obsd_t& _obs)
printArray<unsigned char, ARRAY_SIZE(_obs.code)>("\tcode: ", _obs.code); printArray<unsigned char, ARRAY_SIZE(_obs.code)>("\tcode: ", _obs.code);
printArray<unsigned char, ARRAY_SIZE(_obs.qualL)>("\tqualL: ", _obs.qualL); printArray<unsigned char, ARRAY_SIZE(_obs.qualL)>("\tqualL: ", _obs.qualL);
printArray<unsigned char, ARRAY_SIZE(_obs.qualP)>("\tqualP: ", _obs.qualP); printArray<unsigned char, ARRAY_SIZE(_obs.qualP)>("\tqualP: ", _obs.qualP);
printf("\tFreq. channel: %uc \n", _obs.freq); printf("\tFreq. channel: %uc \n", (int)_obs.freq);
printArray<double, ARRAY_SIZE(_obs.L)>("\tL: ", _obs.L); printArray<double, ARRAY_SIZE(_obs.L)>("\tL: ", _obs.L);
printArray<double, ARRAY_SIZE(_obs.P)>("\tP: ", _obs.P); printArray<double, ARRAY_SIZE(_obs.P)>("\tP: ", _obs.P);
printArray<float, ARRAY_SIZE(_obs.D)>("\tD: ", _obs.D); printArray<float, ARRAY_SIZE(_obs.D)>("\tD: ", _obs.D);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment