diff --git a/firmware/application/CMakeLists.txt b/firmware/application/CMakeLists.txt index 721bc279..dc9e41d5 100644 --- a/firmware/application/CMakeLists.txt +++ b/firmware/application/CMakeLists.txt @@ -223,7 +223,7 @@ set(CPPSRC apps/ui_aprs_tx.cpp apps/ui_bht_tx.cpp apps/ui_coasterp.cpp - # apps/ui_debug.cpp + apps/ui_debug.cpp apps/ui_encoders.cpp apps/ui_fileman.cpp apps/ui_freqman.cpp @@ -276,7 +276,7 @@ set(CPPSRC # ui_numbers.cpp # ui_replay_view.cpp # ui_script.cpp - # ui_sd_card_debug.cpp + ui_sd_card_debug.cpp ${CPLD_20150901_DATA_CPP} ${CPLD_20170522_DATA_CPP} ${HACKRF_CPLD_DATA_CPP} diff --git a/firmware/application/apps/ui_debug.cpp b/firmware/application/apps/ui_debug.cpp index 1a7ca66f..038bbc7b 100644 --- a/firmware/application/apps/ui_debug.cpp +++ b/firmware/application/apps/ui_debug.cpp @@ -28,7 +28,7 @@ #include "audio.hpp" -// #include "ui_sd_card_debug.hpp" +#include "ui_sd_card_debug.hpp" #include "portapack.hpp" using namespace portapack; @@ -347,7 +347,7 @@ DebugMenuView::DebugMenuView(NavigationView& nav) { add_items({ { "Memory", ui::Color::white(), nullptr, [&nav](){ nav.push(); } }, { "Radio State", ui::Color::white(), nullptr, [&nav](){ nav.push(); } }, - //{ "SD Card", ui::Color::white(), nullptr, [&nav](){ nav.push(); } }, + { "SD Card", ui::Color::white(), nullptr, [&nav](){ nav.push(); } }, { "Peripherals", ui::Color::white(), nullptr, [&nav](){ nav.push(); } }, { "Temperature", ui::Color::white(), nullptr, [&nav](){ nav.push(); } }, { "Controls", ui::Color::white(), nullptr, [&nav](){ nav.push(); } }, }); diff --git a/firmware/application/ui_navigation.cpp b/firmware/application/ui_navigation.cpp index 7eea7a76..46e3dd57 100644 --- a/firmware/application/ui_navigation.cpp +++ b/firmware/application/ui_navigation.cpp @@ -39,7 +39,7 @@ #include "ui_aprs_tx.hpp" #include "ui_bht_tx.hpp" #include "ui_coasterp.hpp" -//#include "ui_debug.hpp" +#include "ui_debug.hpp" #include "ui_encoders.hpp" #include "ui_fileman.hpp" #include "ui_freqman.hpp" @@ -438,7 +438,7 @@ SystemMenuView::SystemMenuView(NavigationView& nav) { { "Scanner", ui::Color::orange(), &bitmap_icon_scanner, [&nav](){ nav.push(); } }, { "Utilities", ui::Color::light_grey(), &bitmap_icon_utilities, [&nav](){ nav.push(); } }, { "Settings", ui::Color::cyan(), &bitmap_icon_setup, [&nav](){ nav.push(); } }, - //{ "Debug", ui::Color::cyan(), nullptr, [&nav](){ nav.push(); } }, + { "Debug", ui::Color::cyan(), nullptr, [&nav](){ nav.push(); } }, { "HackRF", ui::Color::cyan(), &bitmap_icon_hackrf, [this, &nav](){ hackrf_mode(nav); } }, { "About", ui::Color::cyan(), nullptr, [&nav](){ nav.push(); } } });