From 80d96b08cfb595cb7247e01194d3730c7f3fe988 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sat, 5 Aug 2017 12:02:14 -0700 Subject: [PATCH] CPLD: Temporarily remove HackRF bitstream check UI. It was poorly implemented and was confusing the hell out of people when their CPLD was showing "BAD", even though it was fine... --- firmware/application/ui_setup.cpp | 7 ++++--- firmware/application/ui_setup.hpp | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/firmware/application/ui_setup.cpp b/firmware/application/ui_setup.cpp index d0a8650a..1bd58857 100644 --- a/firmware/application/ui_setup.cpp +++ b/firmware/application/ui_setup.cpp @@ -175,18 +175,19 @@ AboutView::AboutView(NavigationView& nav) { add_children({ &text_title, &text_firmware, - &text_cpld_hackrf, - &text_cpld_hackrf_status, + // &text_cpld_hackrf, + // &text_cpld_hackrf_status, &button_ok, }); button_ok.on_select = [&nav](Button&){ nav.pop(); }; - +/* if( hackrf::cpld::verify_eeprom() ) { text_cpld_hackrf_status.set(" OK"); } else { text_cpld_hackrf_status.set("BAD"); } +*/ } void AboutView::focus() { diff --git a/firmware/application/ui_setup.hpp b/firmware/application/ui_setup.hpp index d65592c4..580a437b 100644 --- a/firmware/application/ui_setup.hpp +++ b/firmware/application/ui_setup.hpp @@ -233,7 +233,7 @@ private: { 0, 128, 240, 16 }, "Git Commit Hash " GIT_REVISION, }; - +/* Text text_cpld_hackrf { { 0, 144, 11*8, 16 }, "HackRF CPLD", @@ -243,7 +243,7 @@ private: { 240 - 3*8, 144, 3*8, 16 }, "???" }; - +*/ Button button_ok { { 72, 192, 96, 24 }, "OK"