i think thats a bug
This commit is contained in:
parent
4015b7bf42
commit
1318e0f9c2
|
@ -38,6 +38,11 @@ int main() {
|
||||||
int startupmode = -1;
|
int startupmode = -1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// FIXME: put elsewhere?
|
||||||
|
#ifdef USE_USBCDC_FOR_STDIO
|
||||||
|
stdio_usb_set_itf_num(0);
|
||||||
|
#endif
|
||||||
|
|
||||||
modes_init(startupmode);
|
modes_init(startupmode);
|
||||||
if (mode_current) mode_current->enter();
|
if (mode_current) mode_current->enter();
|
||||||
|
|
||||||
|
@ -45,8 +50,6 @@ int main() {
|
||||||
|
|
||||||
// FIXME: put elsewhere?
|
// FIXME: put elsewhere?
|
||||||
#ifdef USE_USBCDC_FOR_STDIO
|
#ifdef USE_USBCDC_FOR_STDIO
|
||||||
stdio_usb_set_itf_num(0);
|
|
||||||
|
|
||||||
stdio_usb_init();
|
stdio_usb_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue