mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2025-07-08 21:58:27 +02:00
Compare commits
2 Commits
89ad39d463
...
1057aa09de
Author | SHA1 | Date | |
---|---|---|---|
|
1057aa09de | ||
|
61771c0bfa |
@ -308,7 +308,7 @@ int64_t os_time_to_esp_time(int64_t esp_now, uint32_t os_time)
|
||||
return esp_time;
|
||||
}
|
||||
|
||||
int64_t get_current_time()
|
||||
int64_t IRAM_ATTR get_current_time()
|
||||
{
|
||||
return esp_timer_get_time() + time_offset;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user