Revert to old init order for host driver (#15029)
* Partially revert 14888
This commit is contained in:
1 parent
0ecd4926b2
commit
634e42b2b4
4 files changed
+21
-11
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user