From accf934a4538269ec512b018fea08b1a43812982 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Wed, 29 Jul 2015 16:19:18 -0700 Subject: [PATCH] Remove vregmode debug field in receiver. Resolves issue #37. --- firmware/application/ui_receiver.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/firmware/application/ui_receiver.cpp b/firmware/application/ui_receiver.cpp index ba2baf72..9ef66cac 100644 --- a/firmware/application/ui_receiver.cpp +++ b/firmware/application/ui_receiver.cpp @@ -21,9 +21,6 @@ #include "ui_receiver.hpp" -#include "hackrf_gpio.hpp" -using namespace hackrf::one; - // TODO: Nasty. Put this in an #include somewhere, or a shared system state // object? @@ -402,7 +399,6 @@ ReceiverView::ReceiverView( &field_vga, &options_modulation, //&options_baseband_oversampling, - &field_vregmode, &field_volume, &view_frequency_options, &view_rf_gain_options, @@ -462,13 +458,6 @@ ReceiverView::ReceiverView( this->on_baseband_oversampling_changed(v); }; */ - field_vregmode.set_value(0); - field_vregmode.on_change = [](int32_t v) { - gpio_vregmode.write(v); - gpio_vregmode.output(); - led_rx.write(v); - }; - field_volume.set_value((receiver_model.headphone_volume() - wolfson::wm8731::headphone_gain_range.max).decibel() + 99); field_volume.on_change = [this](int32_t v) { this->on_headphone_volume_changed(v);