Switch sub-1GHz band (#349)

* switch band
* extract subghz api to files
This commit is contained in:
coreglitch
2021-02-25 13:29:00 +03:00
committed by GitHub
parent 1b2c31da6f
commit 2fbf427e0a
8 changed files with 74 additions and 14 deletions

View File

@@ -0,0 +1,18 @@
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
RfBandIsolation = 0,
RfBand1 = 1,
RfBand2 = 2,
RfBand3 = 3
} RfBand;
void api_hal_rf_band_set(RfBand band);
#ifdef __cplusplus
}
#endif