mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-21 17:16:29 +08:00
fix(log): Fix log time mismatch
When system startup, using 2*crystal as clock source.
This commit is contained in:
@ -19,10 +19,20 @@
|
||||
#include <stdbool.h>
|
||||
#include "esp_err.h"
|
||||
|
||||
#include "sdkconfig.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if CONFIG_CRYSTAL_USED_26MHZ
|
||||
#define CRYSTAL_USED 26
|
||||
#endif
|
||||
|
||||
#if CONFIG_CRYSTAL_USED_40MHZ
|
||||
#define CRYSTAL_USED 40
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
ESP_MAC_WIFI_STA,
|
||||
ESP_MAC_WIFI_SOFTAP,
|
||||
|
Reference in New Issue
Block a user