mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-06 11:01:51 +00:00
View::add_children: Use std::list_initializer as argument.
Improvement in code size -- 944 bytes. Some day I will understand C++11 well enough to do the right thing the first time.
This commit is contained in:
@@ -135,7 +135,7 @@ void RecentEntriesTable<TPMSRecentEntries>::draw(
|
||||
TPMSAppView::TPMSAppView(NavigationView&) {
|
||||
baseband::run_image(portapack::spi_flash::image_tag_tpms);
|
||||
|
||||
add_children({ {
|
||||
add_children({
|
||||
&rssi,
|
||||
&channel,
|
||||
&options_band,
|
||||
@@ -143,7 +143,7 @@ TPMSAppView::TPMSAppView(NavigationView&) {
|
||||
&field_lna,
|
||||
&field_vga,
|
||||
&recent_entries_view,
|
||||
} });
|
||||
});
|
||||
|
||||
radio::enable({
|
||||
tuning_frequency(),
|
||||
|
||||
Reference in New Issue
Block a user