mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-14 20:18:13 +00:00
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...
This commit is contained in:
parent
e9895c1b11
commit
80d96b08cf
@ -175,18 +175,19 @@ AboutView::AboutView(NavigationView& nav) {
|
|||||||
add_children({
|
add_children({
|
||||||
&text_title,
|
&text_title,
|
||||||
&text_firmware,
|
&text_firmware,
|
||||||
&text_cpld_hackrf,
|
// &text_cpld_hackrf,
|
||||||
&text_cpld_hackrf_status,
|
// &text_cpld_hackrf_status,
|
||||||
&button_ok,
|
&button_ok,
|
||||||
});
|
});
|
||||||
|
|
||||||
button_ok.on_select = [&nav](Button&){ nav.pop(); };
|
button_ok.on_select = [&nav](Button&){ nav.pop(); };
|
||||||
|
/*
|
||||||
if( hackrf::cpld::verify_eeprom() ) {
|
if( hackrf::cpld::verify_eeprom() ) {
|
||||||
text_cpld_hackrf_status.set(" OK");
|
text_cpld_hackrf_status.set(" OK");
|
||||||
} else {
|
} else {
|
||||||
text_cpld_hackrf_status.set("BAD");
|
text_cpld_hackrf_status.set("BAD");
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void AboutView::focus() {
|
void AboutView::focus() {
|
||||||
|
@ -233,7 +233,7 @@ private:
|
|||||||
{ 0, 128, 240, 16 },
|
{ 0, 128, 240, 16 },
|
||||||
"Git Commit Hash " GIT_REVISION,
|
"Git Commit Hash " GIT_REVISION,
|
||||||
};
|
};
|
||||||
|
/*
|
||||||
Text text_cpld_hackrf {
|
Text text_cpld_hackrf {
|
||||||
{ 0, 144, 11*8, 16 },
|
{ 0, 144, 11*8, 16 },
|
||||||
"HackRF CPLD",
|
"HackRF CPLD",
|
||||||
@ -243,7 +243,7 @@ private:
|
|||||||
{ 240 - 3*8, 144, 3*8, 16 },
|
{ 240 - 3*8, 144, 3*8, 16 },
|
||||||
"???"
|
"???"
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
Button button_ok {
|
Button button_ok {
|
||||||
{ 72, 192, 96, 24 },
|
{ 72, 192, 96, 24 },
|
||||||
"OK"
|
"OK"
|
||||||
|
Loading…
Reference in New Issue
Block a user