mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-09-28 01:44:54 +08:00
fix(log): Fix log time mismatch
When system startup, using 2*crystal as clock source.
This commit is contained in:
@ -178,11 +178,6 @@ bool bootloader_common_erase_part_type_data(const char *list_erase, bool ota_dat
|
||||
|
||||
static const char *TAG = "bootloader_common";
|
||||
|
||||
static inline uint32_t esp_log_early_timestamp()
|
||||
{
|
||||
return xthal_get_ccount() / (80 * 1000);
|
||||
}
|
||||
|
||||
uint32_t bootloader_common_ota_select_crc(const esp_ota_select_entry_t *s)
|
||||
{
|
||||
return crc32_le(UINT32_MAX, (uint8_t*)&s->ota_seq, 4);
|
||||
|
Reference in New Issue
Block a user