2021-06-20 21:17:11 +02:00
|
|
|
#pragma once
|
|
|
|
#include <string>
|
2021-07-21 04:08:28 +02:00
|
|
|
#include <module.h>
|
2021-06-20 21:17:11 +02:00
|
|
|
|
|
|
|
namespace tuner {
|
|
|
|
void centerTuning(std::string vfoName, double freq);
|
|
|
|
void normalTuning(std::string vfoName, double freq);
|
2021-07-21 04:08:28 +02:00
|
|
|
void iqTuning(double freq);
|
2021-06-20 21:17:11 +02:00
|
|
|
|
|
|
|
enum {
|
|
|
|
TUNER_MODE_CENTER,
|
|
|
|
TUNER_MODE_NORMAL,
|
|
|
|
TUNER_MODE_LOWER_HALF,
|
|
|
|
TUNER_MODE_UPPER_HALF,
|
2021-07-21 04:08:28 +02:00
|
|
|
TUNER_MODE_IQ_ONLY,
|
2021-06-20 21:17:11 +02:00
|
|
|
_TUNER_MODE_COUNT
|
|
|
|
};
|
|
|
|
|
|
|
|
void tune(int mode, std::string vfoName, double freq);
|
|
|
|
}
|