This commit is contained in:
Sheikah
2023-01-27 17:22:52 +08:00
parent d5c13596ce
commit 7cca8f153a
7 changed files with 164 additions and 21 deletions

View File

@@ -3,6 +3,10 @@
#include <stdint.h>
#define G_RF_MODE_FM 0x00
#define G_RF_MODE_AM 0x01
#define G_FM_FREQ_MIN 880*2
#define G_FM_FREQ_MAX 1080*2
#define G_AM_FREQ_MIN 100
#define G_AM_FREQ_MAX 33000
typedef struct GlobalData {
uint16_t freq; // FM x50kHz AM x1kHz