forked from mirrors/qmk_userspace
Revert to old init order for host driver (#15029)
* Partially revert 14888
This commit is contained in:
parent
0ecd4926b2
commit
634e42b2b4
4 changed files with 21 additions and 11 deletions
|
@ -113,12 +113,13 @@ void protocol_setup(void) {
|
|||
#endif
|
||||
}
|
||||
|
||||
void protocol_init(void) {
|
||||
void protocol_pre_init(void) {
|
||||
setup_usb();
|
||||
sei();
|
||||
}
|
||||
|
||||
void protocol_post_init(void) {
|
||||
host_set_driver(vusb_driver());
|
||||
|
||||
wait_ms(50);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue