We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5909cea + b746fd0 commit 9203b66Copy full SHA for 9203b66
ports/espressif/common-hal/microcontroller/Processor.c
@@ -64,7 +64,7 @@ float common_hal_mcu_processor_get_voltage(void) {
64
65
uint32_t common_hal_mcu_processor_get_frequency(void) {
66
#if defined(CONFIG_IDF_TARGET_ESP32)
67
- return CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ * 100000;
+ return CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ * 1000000;
68
#elif defined(CONFIG_IDF_TARGET_ESP32C3)
69
return CONFIG_ESP32C3_DEFAULT_CPU_FREQ_MHZ * 1000000;
70
#elif defined(CONFIG_IDF_TARGET_ESP32S2)
0 commit comments