Change system clock to 78Mhz

This commit is contained in:
silabs-ChatNguyen 2023-07-25 13:25:02 +07:00
parent 2d53627796
commit 8d87c1810e
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ sdk_extension:
- id: cp_efr32
version: 1.0.0
component:
- {id: device_init_dpll}
- {id: bluetooth_feature_nvm}
- {id: bluetooth_feature_gatt_server}
- {id: bluetooth_feature_sm}

View File

@ -50,7 +50,7 @@ float common_hal_mcu_processor_get_voltage(void) {
}
uint32_t common_hal_mcu_processor_get_frequency(void) {
return CMU_ClockFreqGet(cmuClock_HCLK);
return CMU_ClockFreqGet(cmuClock_SYSCLK);
}
void common_hal_mcu_processor_get_uid(uint8_t raw_id[]) {