Merge pull request #354 from ArjanOnwezen/ui_aprs_rx_cpp_warning_fix

ui_aprs_rx.cpp compiler warning fix
This commit is contained in:
Erwin Ried 2021-05-12 02:20:55 +02:00 committed by GitHub
commit a090f1fb0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ void RecentEntriesTable<APRSRecentEntries>::draw(
) { ) {
char aged_color; char aged_color;
Color target_color; Color target_color;
auto entry_age = entry.age; // auto entry_age = entry.age;
target_color = Color::green(); target_color = Color::green();
@ -342,7 +342,7 @@ void APRSDetailsView::set_entry(const APRSRecentEntry& entry){
void APRSDetailsView::update() { void APRSDetailsView::update() {
if(!hidden()){ if(!hidden()){
uint32_t age = entry_copy.age; //uint32_t age = entry_copy.age;
console.clear(true); console.clear(true);
console.write(entry_copy.info_string); console.write(entry_copy.info_string);