mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-03-25 12:57:03 +00:00
Fix warning: logical not is only applied to the left hand side of this comparison
This commit is contained in:
parent
d1331676ea
commit
fa4460038e
@ -488,7 +488,7 @@ int gps_l1_ca_telemetry_decoder_gs::general_work(int noutput_items __attribute__
|
||||
// 2. Add the telemetry decoder information
|
||||
if (d_flag_preamble == true)
|
||||
{
|
||||
if (!d_nav.d_TOW == 0)
|
||||
if (!(d_nav.d_TOW == 0))
|
||||
{
|
||||
d_TOW_at_current_symbol_ms = static_cast<uint32_t>(d_nav.d_TOW * 1000.0);
|
||||
d_TOW_at_Preamble_ms = static_cast<uint32_t>(d_nav.d_TOW * 1000.0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user