mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 04:34:31 +02:00
Merge branch 'bugfix/adjtime_attr' into 'master'
newlib: Remove RTC_DATA_ATTR for adjtime See merge request idf/esp-idf!2504
This commit is contained in:
@@ -80,9 +80,9 @@ static uint64_t s_boot_time;
|
||||
static _lock_t s_boot_time_lock;
|
||||
static _lock_t s_adjust_time_lock;
|
||||
// stores the start time of the slew
|
||||
RTC_DATA_ATTR static uint64_t adjtime_start = 0;
|
||||
static uint64_t adjtime_start = 0;
|
||||
// is how many microseconds total to slew
|
||||
RTC_DATA_ATTR static int64_t adjtime_total_correction = 0;
|
||||
static int64_t adjtime_total_correction = 0;
|
||||
#define ADJTIME_CORRECTION_FACTOR 6
|
||||
static uint64_t get_time_since_boot();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user