blob: 985e6bf31256333f7392f3389d2b7e9d531e220b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef FOX_GUARD_BANDS_HPP__
#define FOX_GUARD_BANDS_HPP__
#include <initializer_list>
#include "Radio.hpp"
namespace FoxGuardBands
{
enum class GuardKind
{
None,
StandardFT8,
WSPR
};
struct Match
{
bool blocked;
GuardKind kind;
Radio::Frequency guard_frequency;
};
Match check (Radio::Frequency dial_frequency,
std::initializer_list<Radio::Frequency> standard_ft8_guards,
std::initializer_list<Radio::Frequency> wspr_guards);
Match check (Radio::Frequency dial_frequency);
}
#endif
|