Commit Graph

4 Commits

Author SHA1 Message Date
Piotr Krysik ccd9ed9cab Going back to previous coding style - without returns 2017-11-30 12:48:01 +01:00
Vadim Yanitskiy 2ce294219c txtime_setter: clean up and simplify source code
This change formats the block implementation source code
according to a mix of GNURadio and the Kernel coding styles.

The main changes are:

  - Limit line length to 80 columns
  - Preffer the opposite conditions
  - Do not use curly braces for single line loops / conditions

For more details, see:

https://wiki.gnuradio.org/index.php/Coding_guide_impl
https://www.kernel.org/doc/html/v4.10/process/coding-style.html
2017-11-29 23:11:14 +01:00
Piotr Krysik ba8b0a95d3 Fix: protections in txtime_setter against late bursts and bursts in too distant future.
Fixing bursts in too distant future is a bit problematic and better way than just looking at tx_time difference from current time would be desirable.
This way of fixing that issue can still cause that tx part will do nothing for about 10 seconds (after switching frequency from a BTS1 (with fn1) to BTS2 (with fn2) when fn1>fn2).
2017-11-11 11:19:26 +01:00
Piotr Krysik 517464c0a9 Added txtime_setter block (a c++ version of txtime_bursts_tagger Python block) 2017-11-05 12:23:15 +01:00