We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d08994 commit c98c139Copy full SHA for c98c139
ports/rp2/rp2_flash.c
@@ -139,10 +139,10 @@ static uint32_t begin_critical_flash_section(void) {
139
}
140
141
static void end_critical_flash_section(uint32_t state) {
142
+ rp2_flash_set_timing_internal(clock_get_hz(clk_sys));
143
#if defined(MICROPY_HW_PSRAM_CS_PIN) && MICROPY_HW_ENABLE_PSRAM
144
psram_init(MICROPY_HW_PSRAM_CS_PIN);
145
#endif
- rp2_flash_set_timing_internal(clock_get_hz(clk_sys));
146
restore_interrupts(state);
147
if (multicore_lockout_victim_is_initialized(1 - get_core_num())) {
148
multicore_lockout_end_blocking();
0 commit comments