Added support for multiple sample rates in IQ record

Support for any sample rate <= 500k in IQ replay
Fixed bias-t power not activating in TX
Removed RSSI pitch output option (awful code)
Udated binary
This commit is contained in:
furrtek
2018-02-22 07:04:19 +00:00
parent 57c759627d
commit 7fd987a2b4
23 changed files with 193 additions and 84 deletions

View File

@@ -64,7 +64,7 @@ public:
private:
void toggle();
void toggle_pitch_rssi();
//void toggle_pitch_rssi();
Optional<File::Error> write_metadata_file(const std::filesystem::path& filename);
void on_tick_second();
@@ -73,7 +73,7 @@ private:
void handle_capture_thread_done(const File::Error error);
void handle_error(const File::Error error);
bool pitch_rssi_enabled = false;
//bool pitch_rssi_enabled = false;
const std::filesystem::path filename_stem_pattern;
const FileType file_type;
const size_t write_size;
@@ -85,15 +85,16 @@ private:
Color::black()
};
ImageButton button_pitch_rssi {
/*ImageButton button_pitch_rssi {
{ 2, 0 * 16, 3 * 8, 1 * 16 },
&bitmap_rssipwm,
Color::orange(),
Color::black()
};
};*/
ImageButton button_record {
{ 4 * 8, 0 * 16, 2 * 8, 1 * 16 },
//{ 4 * 8, 0 * 16, 2 * 8, 1 * 16 },
{ 0 * 8, 0 * 16, 2 * 8, 1 * 16 },
&bitmap_record,
Color::red(),
Color::black()