You've already forked TEF6686_ESP32
lotta changes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#define VERSION "v2.20.5b"
|
||||
#define VERSION "v2.20.5c"
|
||||
|
||||
#define REVERSE false
|
||||
|
||||
@@ -15,18 +15,14 @@
|
||||
(x_ < y_) ? x_ : y_; }
|
||||
|
||||
#define TIMER_OFFSET_TIMER (TIMER_500_TICK)
|
||||
#define TIMER_BW_TIMER (TIMER_500_TICK)
|
||||
#define TIMER_SNR_TIMER 100
|
||||
#define TIMER_BAT_TIMER (TIMER_500_TICK)
|
||||
#define TIMER_BW_TIMER 300
|
||||
#define TIMER_SNR_TIMER 50
|
||||
#define TIMER_BAT_TIMER 250
|
||||
#define TIMER_500_TICK 500
|
||||
|
||||
#define BAT_LEVEL_EMPTY 1600
|
||||
#define BAT_LEVEL_WARN 1700
|
||||
#define BAT_LEVEL_FULL 2270
|
||||
#define BAT_LEVEL_STAGE 4
|
||||
#define BATTERY_WARN_VALUE 3.68
|
||||
#define BATTERY_LOW_VALUE 3.0
|
||||
#define BATTERY_FULL_VALUE 4.2
|
||||
#define BATTERY_LOW_VALUE 3.2
|
||||
#define BATTERY_FULL_VALUE 4.12
|
||||
|
||||
#define XTAL_0V_ADC 0
|
||||
#define XTAL_1V_ADC 1050
|
||||
@@ -57,8 +53,6 @@
|
||||
#define FREQ_FM_OIRT_START 6500 // use values of 1/10 * kHz
|
||||
#define FREQ_FM_OIRT_END 7400 // use values of 1/10 * kHz
|
||||
|
||||
#define FM_DEEMPHASIS_50 50
|
||||
#define FM_DEEMPHASIS_75 75
|
||||
#define REGION_EU 0
|
||||
#define REGION_US 1
|
||||
|
||||
|
||||
@@ -101,7 +101,6 @@ extern byte band;
|
||||
extern byte bandAM;
|
||||
extern byte bandFM;
|
||||
extern byte bandforbidden;
|
||||
extern byte battery;
|
||||
extern byte batteryold;
|
||||
extern byte batteryoptions;
|
||||
extern byte BWset;
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
static const char* const unitString[] = {"dBμV", "dBf", "dBm"};
|
||||
static const char* const FreqFont[] = {"Classic", "Roubenstil", "Motoya", "Aura2", "Comic", "Modern"};
|
||||
static const char* const Theme[] = {"Essence", "Cyan", "Crimson", "Monochrome", "Volcano", "Dendro", "Sakura", "Whiteout", "Tangerine", "Ocean", "Indigo", "Queer", "GoldBrite", "Bubblegum"};
|
||||
static const char* const Skin[] = {"Essential"};
|
||||
static const char* BWButtonLabelsFM[] = {"56 kHz", "64 kHz", "72 kHz", "84 kHz", "97 kHz", "114 kHz", "133 kHz", "151 kHz", "168 kHz", "184 kHz", "200 kHz", "217 kHz", "236 kHz", "254 kHz", "287 kHz", "311 kHz", "Auto", "iMS", "EQ"};
|
||||
static const char* BWButtonLabelsAM[] = {"3 kHz", "4 kHz", "6 kHz", "8 kHz"};
|
||||
|
||||
|
||||
9
include/nonvolatile.h
Normal file
9
include/nonvolatile.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <EEPROM.h>
|
||||
#include "globals.h"
|
||||
#include "logbook.h"
|
||||
|
||||
void StoreFrequency();
|
||||
void ClearMemoryRange(uint8_t start, uint8_t stop);
|
||||
void saveData();
|
||||
void loadData();
|
||||
void DefaultSettings();
|
||||
Reference in New Issue
Block a user