mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-10 02:35:17 -04:00
RecentEntries: Remove Packet template arg.
This commit is contained in:
parent
4d781df76c
commit
42d98c3b45
7 changed files with 14 additions and 14 deletions
|
@ -199,7 +199,8 @@ void TPMSAppView::on_packet(const tpms::Packet& packet) {
|
|||
const auto reading_opt = packet.reading();
|
||||
if( reading_opt.is_valid() ) {
|
||||
const auto reading = reading_opt.value();
|
||||
recent.on_packet({ reading.type(), reading.id() }, reading);
|
||||
auto& entry = recent.on_packet({ reading.type(), reading.id() });
|
||||
entry.update(reading);
|
||||
recent_entries_view.set_dirty();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue