Sync with Sharebrained's fw, only Xylos TX works for now

This commit is contained in:
furrtek 2016-07-27 03:03:40 +02:00
parent fdfa7c9776
commit 739956b42b
150 changed files with 17236 additions and 7875 deletions

View file

@ -33,18 +33,14 @@ public:
BasebandThread(
uint32_t sampling_rate,
BasebandProcessor* const baseband_processor,
const tprio_t priority
const tprio_t priority,
const baseband::Direction dir
);
~BasebandThread();
// This getter should die, it's just here to leak information to code that
// isn't in the right place to begin with.
baseband::Direction direction() const {
return baseband::Direction::Receive;
}
private:
static Thread* thread;
baseband::Direction direction;
BasebandProcessor* baseband_processor { nullptr };
uint32_t sampling_rate;