qmod: Start with _HUB_RESET=0 -> HUB_RESET=1 (not in reset)

Booting with the hub reset active would in turn cut our own power
supply as the hub disables all downstream port power in that case.
This commit is contained in:
Harald Welte
2017-01-11 22:23:13 +01:00
parent f9a182d24d
commit 6dfcf70f63

View File

@@ -78,7 +78,7 @@ static volatile enum confNum simtrace_config = CFG_NUM_CCID;
#endif
static const Pin pin_hubpwr_override = PIN_PRTPWR_OVERRIDE;
static const Pin pin_hub_rst = {PIO_PA13, PIOA, ID_PIOA, PIO_OUTPUT_1, PIO_DEFAULT};
static const Pin pin_hub_rst = {PIO_PA13, PIOA, ID_PIOA, PIO_OUTPUT_0, PIO_DEFAULT};
static const Pin pin_1234_detect = {PIO_PA14, PIOA, ID_PIOA, PIO_INPUT, PIO_PULLUP};
static const Pin pin_peer_rst = {PIO_PA0, PIOA, ID_PIOA, PIO_OUTPUT_0, PIO_DEFAULT};
static const Pin pin_peer_erase = {PIO_PA11, PIOA, ID_PIOA, PIO_OUTPUT_0, PIO_DEFAULT};