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.
1 parent 0274955 commit bce0bc0Copy full SHA for bce0bc0
esp32-s3-box-lite/src/main.rs
@@ -59,8 +59,10 @@ fn main() -> ! {
59
psram::init_psram(peripherals.PSRAM);
60
init_psram_heap();
61
62
- let mut system = peripherals.SYSTEM.split();
63
- let clocks = ClockControl::configure(system.clock_control, CpuClock::Clock240MHz).freeze();
+ let system = peripherals.SYSTEM.split();
+
64
+ // With DMA we have sufficient throughput, so we can clock down the CPU to 160MHz
65
+ let clocks = ClockControl::configure(system.clock_control, CpuClock::Clock160MHz).freeze();
66
67
let mut delay = Delay::new(&clocks);
68
0 commit comments