From 0abf3f7465d803d65df1e81b7bcfde854930e19e Mon Sep 17 00:00:00 2001 From: joanvallve <jvallve@iri.upc.edu> Date: Mon, 11 May 2020 12:27:43 +0200 Subject: [PATCH] copypaste typo and tabs in print --- src/observations.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/observations.cpp b/src/observations.cpp index 13ec320..34a038d 100644 --- a/src/observations.cpp +++ b/src/observations.cpp @@ -127,17 +127,17 @@ static void Observations::print(obsd_t& _obs) { std::string msg = "Observation of satellite #" + std::to_string(_obs.sat); GnssUtils::print(msg); - std::cout << "Time [s]: " << _obs.time.time << " + " << _obs.time.sec << "\n"; - std::cout << "Time valid: " << _obs.timevalid << std::endl; - printArray<unsigned char, ARRAY_SIZE(_obs.SNR)>("SNR: ", _obs.SNR); - printArray<unsigned char, ARRAY_SIZE(_obs.LLI)>("LLI: ", _obs.LLI); - printArray<unsigned char, ARRAY_SIZE(_obs.code)>("code: ", _obs.code); - printArray<unsigned char, ARRAY_SIZE(_obs.qualL)>("code: ", _obs.qualL); - printArray<unsigned char, ARRAY_SIZE(_obs.qualP)>("code: ", _obs.qualP); - printf("Freq. channel: %uc \n", _obs.freq); - printArray<double, ARRAY_SIZE(_obs.L)>("L: ", _obs.L); - printArray<double, ARRAY_SIZE(_obs.P)>("P: ", _obs.P); - printArray<float, ARRAY_SIZE(_obs.D)>("D: ", _obs.D); + std::cout << "\tTime [s]: " << _obs.time.time << " + " << _obs.time.sec << "\n"; + std::cout << "\tTime valid: " << _obs.timevalid << std::endl; + printArray<unsigned char, ARRAY_SIZE(_obs.SNR)>("\tSNR: ", _obs.SNR); + printArray<unsigned char, ARRAY_SIZE(_obs.LLI)>("\tLLI: ", _obs.LLI); + 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.qualP)>("\tqualP: ", _obs.qualP); + printf("\tFreq. channel: %uc \n", _obs.freq); + printArray<double, ARRAY_SIZE(_obs.L)>("\tL: ", _obs.L); + printArray<double, ARRAY_SIZE(_obs.P)>("\tP: ", _obs.P); + printArray<float, ARRAY_SIZE(_obs.D)>("\tD: ", _obs.D); } void Observations::printBySat(const int& _sat_number) -- GitLab