Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@

bool write_payload();

// optimized: increased voltage for better stability at higher clock
// RP2040 rating is 200MHz at 1.15v
void init_system() {
vreg_set_voltage(VREG_VOLTAGE_1_30);
vreg_set_voltage(VREG_VOLTAGE_1_15);
set_sys_clock_khz(200000, true);
}

Expand Down Expand Up @@ -200,4 +200,4 @@ int main()

// attempts limit
halt_with_error(7, 3);
}
}