Skip to content

Commit

Permalink
Fix occasional stuckage of flash initialization
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Horacek <[email protected]>
  • Loading branch information
phoracek committed Jan 2, 2023
1 parent a08cb0c commit 44eee75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ backwards compatibility.

## Unreleased

* Fix occasional stuckage of flash initialization.

## 0.7.2

* Set correct ADC/DAC format on Seed 1.1 and Patch SM to solve conversion issue.
Expand Down
2 changes: 1 addition & 1 deletion src/flash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ impl Flash {

let mut flash = Self { driver: qspi };

flash.enable_qpi_mode();
flash.reset_status_register();
flash.reset_read_register();
flash.enable_qpi_mode();

flash
}
Expand Down

0 comments on commit 44eee75

Please sign in to comment.