mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 01:15:38 -04:00
Added bitrate option for POCSAG baseband, PWMRSSI frequency option
Split SD card wiper app Cleanup for -Weffc++
This commit is contained in:
parent
5e40669cbc
commit
e4abcea9a3
23 changed files with 314 additions and 190 deletions
|
@ -30,6 +30,7 @@
|
|||
#include <functional>
|
||||
#include <algorithm>
|
||||
|
||||
#include "pocsag_packet.hpp"
|
||||
#include "baseband_packet.hpp"
|
||||
#include "ert_packet.hpp"
|
||||
#include "tpms_packet.hpp"
|
||||
|
@ -546,17 +547,17 @@ class PWMRSSIConfigureMessage : public Message {
|
|||
public:
|
||||
constexpr PWMRSSIConfigureMessage(
|
||||
const bool enabled,
|
||||
const uint32_t freq,
|
||||
const uint32_t synth_div,
|
||||
const int32_t avg
|
||||
) : Message { ID::PWMRSSIConfigure },
|
||||
enabled(enabled),
|
||||
freq(freq),
|
||||
synth_div(synth_div),
|
||||
avg(avg)
|
||||
{
|
||||
}
|
||||
|
||||
const bool enabled;
|
||||
const uint32_t freq;
|
||||
const uint32_t synth_div;
|
||||
const int32_t avg;
|
||||
};
|
||||
|
||||
|
@ -678,13 +679,13 @@ public:
|
|||
class POCSAGConfigureMessage : public Message {
|
||||
public:
|
||||
constexpr POCSAGConfigureMessage(
|
||||
const uint32_t rate
|
||||
const pocsag::BitRate bitrate
|
||||
) : Message { ID::POCSAGConfigure },
|
||||
rate(rate)
|
||||
bitrate(bitrate)
|
||||
{
|
||||
}
|
||||
|
||||
const uint32_t rate;
|
||||
const pocsag::BitRate bitrate;
|
||||
};
|
||||
|
||||
class ADSBConfigureMessage : public Message {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue