Skip to content

Commit

Permalink
Add a delay
Browse files Browse the repository at this point in the history
  • Loading branch information
henols committed Jan 22, 2025
1 parent 4ba1039 commit 2c778bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/flash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ void flash_write_execute(firestarter_handle_t* handle) {
}

void flash_erase_execute(firestarter_handle_t* handle) {
debug("Erase");
flash_internal_erase(handle);
}

Expand Down
3 changes: 2 additions & 1 deletion src/uno_rurp_shield.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ void rurp_write_to_register(uint8_t reg, register_t data) {
}
rurp_write_data_buffer(data);
PORTB |= reg;
// Probably useless - verify later delayMicroseconds(1);
// Probably useless - verify later
delayMicroseconds(1);
PORTB &= ~(reg);
//Take a break here if an address change needs time to settle
if (settle)
Expand Down

0 comments on commit 2c778bb

Please sign in to comment.