v1.7.24
This commit is contained in:
1 parent
1ac176075a
commit
91889a2af8
10 files changed
+43
-94
No files matched your search
@@ -43,6 +43,9 @@
|
||||
#define I2C_MUTEX_LOCK() xSemaphoreTake(I2Caccess, (3 * DISPLAYREFRESH_MS / portTICK_PERIOD_MS)) == pdTRUE
|
||||
#define I2C_MUTEX_UNLOCK() xSemaphoreGive(I2Caccess)
|
||||
|
||||
// time pulse frequency 1Hz
|
||||
#define PPS (1000)
|
||||
|
||||
// Struct holding devices's runtime configuration
|
||||
typedef struct {
|
||||
uint8_t lorasf; // 7-12, lora spreadfactor
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ void sync_rtctime(void);
|
||||
time_t get_rtctime(void);
|
||||
float get_rtctemp(void);
|
||||
void IRAM_ATTR CLOCKIRQ();
|
||||
int timepulse_init(uint32_t pps_freq);
|
||||
int timepulse_init(void);
|
||||
void timepulse_start();
|
||||
void sync_clock(void);
|
||||
|
||||
|
||||
Reference in new issue
Block a user