Skip to content

Commit 115debe

Browse files
committed
fix: update install code
Signed-off-by: Nedelcu Ioana <[email protected]>
1 parent 4477a41 commit 115debe

File tree

2 files changed

+161
-225
lines changed

2 files changed

+161
-225
lines changed

tockloader-lib/src/bootloader_serial.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub const SYNC_MESSAGE: [u8; 3] = [0x00, 0xFC, 0x05];
1717
// "This was chosen as it is infrequent in .bin files" - immesys
1818
pub const ESCAPE_CHAR: u8 = 0xFC;
1919

20-
pub const DEFAULT_TIMEOUT: Duration = Duration::from_millis(500);
20+
pub const DEFAULT_TIMEOUT: Duration = Duration::from_millis(5000);
2121

2222
#[allow(dead_code)]
2323
pub enum Command {

0 commit comments

Comments
 (0)