"At least it builds, now"

This commit is contained in:
furrtek 2016-02-05 17:40:14 +01:00
parent 8009a9b543
commit c81ba5be8e
27 changed files with 112 additions and 88 deletions

View file

@ -29,6 +29,7 @@
#include "hackrf_gpio.hpp"
#include "portapack.hpp"
#include "radio.hpp"
#include "string_format.hpp"
#include "hackrf_hal.hpp"
#include "portapack_shared_memory.hpp"
@ -37,7 +38,7 @@
#include <cstring>
#include <stdio.h>
using namespace hackrf::one;
using namespace portapack;
namespace ui {
@ -103,7 +104,7 @@ AFSKSetupView::AFSKSetupView(
field_repeat.set_value(rpt);
button_setfreq.on_select = [this,&nav](Button&){
auto new_view = new FrequencyKeypadView { nav, this->transmitter_model.tuning_frequency() };
auto new_view = new FrequencyKeypadView { nav, transmitter_model.tuning_frequency() };
new_view->on_changed = [this](rf::Frequency f) {
updfreq(f);
};