mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-18 12:28:52 +08:00
fix(log): Fix log time mismatch
When system startup, using 2*crystal as clock source.
This commit is contained in:
@ -78,6 +78,16 @@ void esp_log_level_set(const char* tag, esp_log_level_t level);
|
||||
*/
|
||||
putchar_like_t esp_log_set_putchar(putchar_like_t func);
|
||||
|
||||
/**
|
||||
* @brief Function which returns timestamp to be used in log output
|
||||
*
|
||||
* This function uses HW cycle counter and does not depend on OS,
|
||||
* so it can be safely used after application crash.
|
||||
*
|
||||
* @return timestamp, in milliseconds
|
||||
*/
|
||||
uint32_t esp_log_early_timestamp(void);
|
||||
|
||||
/**
|
||||
* @brief Write message into the log
|
||||
*
|
||||
|
Reference in New Issue
Block a user