fix: remove unnecessary CPU frequency configuration from setup function
This commit is contained in:
parent
5c5846c52c
commit
2214f5f5de
@ -15,17 +15,10 @@
|
|||||||
#include "esp_task_wdt.h"
|
#include "esp_task_wdt.h"
|
||||||
#include "commonFS.h"
|
#include "commonFS.h"
|
||||||
|
|
||||||
#include "soc/rtc.h"
|
|
||||||
|
|
||||||
// ##### SETUP #####
|
// ##### SETUP #####
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
|
|
||||||
rtc_cpu_freq_config_t config;
|
|
||||||
rtc_clk_cpu_freq_get_config(&config);
|
|
||||||
rtc_clk_cpu_freq_to_config(RTC_CPU_FREQ_80M, &config);
|
|
||||||
rtc_clk_cpu_freq_set_config_fast(&config);
|
|
||||||
|
|
||||||
uint64_t chipid;
|
uint64_t chipid;
|
||||||
|
|
||||||
chipid = ESP.getEfuseMac(); //The chip ID is essentially its MAC address(length: 6 bytes).
|
chipid = ESP.getEfuseMac(); //The chip ID is essentially its MAC address(length: 6 bytes).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user