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:
parent
75a09fc08f
commit
857e68ceca
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user