24Mhz -> 240Mhz
This commit is contained in:
parent
c7d9eecfd6
commit
b746fd05ba
@ -64,7 +64,7 @@ float common_hal_mcu_processor_get_voltage(void) {
|
||||
|
||||
uint32_t common_hal_mcu_processor_get_frequency(void) {
|
||||
#if defined(CONFIG_IDF_TARGET_ESP32)
|
||||
return CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ * 100000;
|
||||
return CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ * 1000000;
|
||||
#elif defined(CONFIG_IDF_TARGET_ESP32C3)
|
||||
return CONFIG_ESP32C3_DEFAULT_CPU_FREQ_MHZ * 1000000;
|
||||
#elif defined(CONFIG_IDF_TARGET_ESP32S2)
|
||||
|
Loading…
Reference in New Issue
Block a user