mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-27 18:52:39 -04:00
Transmit DisplayFrameSync message, handle in WaterfallSpectrum.
More kludginess, especially around initialization and timing. But it addresses the flickering lines of pixels at the bottom of the waterfall scroll area!
This commit is contained in:
parent
aaa1bc3a09
commit
ba33cc737d
4 changed files with 23 additions and 5 deletions
|
@ -45,7 +45,7 @@ public:
|
|||
RSSIStatistics = 0,
|
||||
BasebandStatistics = 1,
|
||||
ChannelStatistics = 2,
|
||||
|
||||
DisplayFrameSync = 3,
|
||||
AudioStatistics = 4,
|
||||
BasebandConfiguration = 5,
|
||||
TPMSPacket = 6,
|
||||
|
@ -133,6 +133,14 @@ public:
|
|||
ChannelStatistics statistics;
|
||||
};
|
||||
|
||||
class DisplayFrameSyncMessage : public Message {
|
||||
public:
|
||||
constexpr DisplayFrameSyncMessage(
|
||||
) : Message { ID::DisplayFrameSync }
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
struct AudioStatistics {
|
||||
int32_t rms_db;
|
||||
int32_t max_db;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue