Fix data race in radio::is_start_of_burst.

master
faluco 3 years ago committed by Andre Puschmann
parent a2c433b228
commit 388b1e5d92

@ -104,7 +104,7 @@ private:
bool decimator_busy = false; ///< Indicates the decimator is changing the rate bool decimator_busy = false; ///< Indicates the decimator is changing the rate
rf_timestamp_t end_of_burst_time = {}; rf_timestamp_t end_of_burst_time = {};
bool is_start_of_burst = false; std::atomic<bool> is_start_of_burst{false};
uint32_t tx_adv_nsamples = 0; uint32_t tx_adv_nsamples = 0;
double tx_adv_sec = 0.0; // Transmission time advance to compensate for antenna->timestamp delay double tx_adv_sec = 0.0; // Transmission time advance to compensate for antenna->timestamp delay
bool tx_adv_auto = false; bool tx_adv_auto = false;

Loading…
Cancel
Save