Revert to old init order for host driver (#15029)

* Partially revert 14888
This commit is contained in:
Joel Challis 2021-11-02 18:53:46 +00:00 committed by GitHub
parent 0ecd4926b2
commit 634e42b2b4
Failed to generate hash of commit
4 changed files with 21 additions and 11 deletions

View file

@ -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);
}