mirror of
https://github.com/pine64/blisp.git
synced 2024-12-22 06:20:12 +00:00
Wait a bit so BootROM can init after reset
This commit is contained in:
parent
115f1df0b3
commit
717d693d0b
@ -149,6 +149,7 @@ blisp_device_handshake(struct blisp_device* device, bool in_ef_loader) {
|
||||
sp_set_dtr(serial_port, SP_DTR_OFF);
|
||||
sleep_ms(100);
|
||||
sp_set_rts(serial_port, SP_RTS_OFF);
|
||||
sleep_ms(50); // Wait a bit so BootROM can init
|
||||
}
|
||||
|
||||
uint32_t bytes_count = device->chip->handshake_byte_multiplier * (float)device->current_baud_rate / 10.0f;
|
||||
|
Loading…
Reference in New Issue
Block a user