Started work on ADS-B TX baseband processor

This commit is contained in:
furrtek 2016-12-01 06:58:47 +01:00
parent 596071e8f8
commit ef0feae62b
15 changed files with 413 additions and 82 deletions

View file

@ -1,5 +1,6 @@
/*
* Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc.
* Copyright (C) 2016 Furrtek
*
* This file is part of PortaPack.
*
@ -28,8 +29,14 @@
class JammerProcessor : public BasebandProcessor {
public:
void execute(const buffer_c8_t& buffer) override;
void on_message(const Message* const msg) override;
private:
bool configured = false;
BasebandThread baseband_thread { 1536000, this, NORMALPRIO + 20, baseband::Direction::Transmit };
int32_t lfsr32 = 0xABCDE;
uint32_t s;
int8_t r, ir, re, im;