fix issue #786
This commit is contained in:
parent
c00612ad76
commit
c2336397ce
@ -10,7 +10,7 @@
|
||||
#include "if482.h"
|
||||
#include "dcf77.h"
|
||||
|
||||
enum timesource_t { _gps, _rtc, _lora, _set, _unsynced };
|
||||
enum timesource_t { _gps, _rtc, _lora, _unsynced, _set };
|
||||
|
||||
extern const char timeSetSymbols[];
|
||||
extern Ticker timesyncer;
|
||||
@ -28,7 +28,8 @@ void setTimeSyncIRQ(void);
|
||||
uint8_t timepulse_init(void);
|
||||
time_t timeIsValid(time_t const t);
|
||||
void calibrateTime(void);
|
||||
void IRAM_ATTR setMyTime(uint32_t t_sec, uint16_t t_msec, timesource_t mytimesource);
|
||||
void IRAM_ATTR setMyTime(uint32_t t_sec, uint16_t t_msec,
|
||||
timesource_t mytimesource);
|
||||
time_t compiledUTC(void);
|
||||
TickType_t tx_Ticks(uint32_t framesize, unsigned long baud, uint32_t config,
|
||||
int8_t rxPin, int8_t txPins);
|
||||
|
@ -13,7 +13,7 @@ static const char TAG[] = __FILE__;
|
||||
|
||||
// symbol to display current time source
|
||||
// G = GPS / R = RTC / L = LORA / S = external Source / ? = unsynced
|
||||
const char timeSetSymbols[] = {'G', 'R', 'L', 'S', '?'};
|
||||
const char timeSetSymbols[] = {'G', 'R', 'L', '?', 'S'};
|
||||
|
||||
// set Time Zone for user setting from paxcounter.conf
|
||||
TimeChangeRule myDST = DAYLIGHT_TIME;
|
||||
|
Loading…
Reference in New Issue
Block a user