mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-29 09:07:17 -04:00
App settings revamp (#1139)
* WIP AppSetting overhaul * WIP migrating apps to new settings. * remove settings, rename tuned => target * formatting * Minor fixes * Fix hang on app load * run formatter * PR comment fixes * Load modulation into receiver model in app_settings * Run formatter --------- Co-authored-by: kallanreed <kallanreed@outlook.com>
This commit is contained in:
parent
f65e743c4c
commit
8bd3d6249d
105 changed files with 914 additions and 1136 deletions
|
@ -62,7 +62,6 @@ class TestView : public View {
|
|||
std::string title() const override { return "Test app"; };
|
||||
|
||||
private:
|
||||
uint32_t target_frequency_{439206000};
|
||||
Coord cur_x{0};
|
||||
uint32_t packet_count{0};
|
||||
uint32_t packets_lost{0};
|
||||
|
@ -112,12 +111,10 @@ class TestView : public View {
|
|||
[this](Message* const p) {
|
||||
const auto message = static_cast<const TestAppPacketMessage*>(p);
|
||||
const testapp::Packet packet{message->packet};
|
||||
this->on_packet(packet);
|
||||
on_packet(packet);
|
||||
}};
|
||||
|
||||
void on_packet(const testapp::Packet& packet);
|
||||
void set_target_frequency(const uint32_t new_value);
|
||||
uint32_t tuning_frequency() const;
|
||||
};
|
||||
|
||||
} /* namespace ui */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue