mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-30 05:40:39 +00:00
Change frequency for all Xtensa chips
This commit is contained in:
parent
a96ac9a53a
commit
e9d25153c6
@ -93,9 +93,7 @@ mod delay {
|
||||
|
||||
use fugit::HertzU64;
|
||||
|
||||
// FIXME: The ESP32-S2 and ESP32-S3 have fixed crystal frequencies of 40MHz.
|
||||
// This will not always be the case when using the ESP32.
|
||||
const CLK_FREQ_HZ: HertzU64 = HertzU64::MHz(40);
|
||||
const CLK_FREQ_HZ: HertzU64 = HertzU64::MHz(80);
|
||||
|
||||
/// Delay driver
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user