adb_usb: Reset devices on startup
This restores devices to default state on warm startup like flashing firmware
This commit is contained in:
parent
a532b426c4
commit
d301870717
1 changed files with 2 additions and 0 deletions
|
|
@ -71,6 +71,8 @@ void matrix_init(void)
|
|||
DDRD |= (1<<6); PORTD |= (1<<6);
|
||||
|
||||
adb_host_init();
|
||||
adb_host_reset_hard();
|
||||
//adb_host_reset(); // some of devices done't recognize
|
||||
|
||||
// AEK/AEKII(ANSI/ISO) startup is slower. Without proper delay
|
||||
// it would fail to recognize layout and enable Extended protocol.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue