diff --git a/targets/RT/USER/lte-softmodem.c b/targets/RT/USER/lte-softmodem.c index 5144e911d7b7a4241751a03b453ce1edd72d141c..a8388f817ed8877fa98a0e47e3cd5c4adb5efa2c 100644 --- a/targets/RT/USER/lte-softmodem.c +++ b/targets/RT/USER/lte-softmodem.c @@ -684,9 +684,8 @@ static void get_options(void) { } - #if T_TRACER -int T_wait = 1; /* by default we wait for the tracer */ +int T_nowait = 0; /* by default we wait for the tracer */ int T_port = 2021; /* default port to listen to to wait for the tracer */ int T_dont_fork = 0; /* default is to fork, see 'T_init' to understand */ #endif @@ -920,7 +919,7 @@ int main( int argc, char **argv ) #if T_TRACER - T_init(T_port, T_wait, T_dont_fork); + T_init(T_port, 1-T_nowait, T_dont_fork); #endif diff --git a/targets/RT/USER/lte-softmodem.h b/targets/RT/USER/lte-softmodem.h index 9b62b30e3679c73403964d4e1242f12c2192b8b6..28003f75db4b56c31c4a5ae035a9b57c47eca74f 100644 --- a/targets/RT/USER/lte-softmodem.h +++ b/targets/RT/USER/lte-softmodem.h @@ -190,7 +190,7 @@ extern int16_t dlsch_demod_shift; extern int T_port; -extern int T_wait; +extern int T_nowait; extern int T_dont_fork; /*------------------------------------------------------------------------------------------------------------------------------------------*/