24Mhz -> 240Mhz

This commit is contained in:
Bill Sideris 2023-03-29 23:58:54 +03:00
parent c7d9eecfd6
commit b746fd05ba
No known key found for this signature in database
GPG Key ID: 1BEF1BCEBA58EA33

View File

@ -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)