1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-08-04 21:03:50 +00:00

avoid reading garbage

This commit is contained in:
Carles Fernandez 2015-05-24 20:41:30 +02:00
parent 75a09fc08f
commit 857e68ceca

View File

@ -935,7 +935,7 @@ void ControlThread::galileo_utc_model_data_collector()
void ControlThread::keyboard_listener()
{
bool read_keys = true;
char c;
char c = '0';
while(read_keys)
{
std::cin.get(c);