Update main.c

This commit is contained in:
rehius 2023-05-26 22:44:24 +00:00 committed by GitHub
parent 7160263347
commit 7ca69d4b76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
main.c
View file

@ -21,10 +21,10 @@
bool write_payload(); bool write_payload();
// overclock to 200 MHz, pretty stable & enough for the glitch // overclock to 300 MHz
void init_system() { void init_system() {
vreg_set_voltage(VREG_VOLTAGE_1_30); vreg_set_voltage(VREG_VOLTAGE_1_30);
set_sys_clock_khz(200000, true); set_sys_clock_khz(300000, true);
} }
// filled within "fast check" on eMMC init // filled within "fast check" on eMMC init