mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-18 14:28:33 +03:00
qmod: Set PIN_PRTPWR_OVERRIDE to output/low
This commit is contained in:
@@ -164,6 +164,11 @@ static const unsigned int __eeprom_bin_len = 256;
|
||||
PIO_Configure(&pin_hub_rst, 1);
|
||||
i2c_pin_init();
|
||||
|
||||
/* set PIN_PRTPWR_OVERRIDE to output-low to avoid the internal
|
||||
* pull-up on the input to keep SIMTRACE12 alive */
|
||||
static const Pin pin_hubpwr_override = PIN_PRTPWR_OVERRIDE;
|
||||
PIO_Configure(&pin_hubpwr_override, 1);
|
||||
|
||||
/* wait */
|
||||
volatile int v;
|
||||
/* 440ns per cycle here */
|
||||
|
||||
Reference in New Issue
Block a user