Skip to content

Commit 212b691

Browse files
committed
giga: remove stray function
1 parent acfceb1 commit 212b691

File tree

1 file changed

+0
-23
lines changed
  • targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_GIGA

1 file changed

+0
-23
lines changed

Diff for: targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_GIGA/giga_power.cpp

-23
Original file line numberDiff line numberDiff line change
@@ -26,27 +26,4 @@
2626
******************************************************************************/
2727
void enableEthPowerSupply(void)
2828
{
29-
/* Ensure ETH power supply */
30-
mbed::I2C i2c(PB_7, PB_6);
31-
32-
char data[2];
33-
34-
// LDO3 to 1.2V
35-
data[0] = 0x52;
36-
data[1] = 0x9;
37-
i2c.write(8 << 1, data, sizeof(data));
38-
data[0] = 0x53;
39-
data[1] = 0xF;
40-
i2c.write(8 << 1, data, sizeof(data));
41-
42-
// SW2 to 3.3V (SW2_VOLT)
43-
data[0] = 0x3B;
44-
data[1] = 0xF;
45-
i2c.write(8 << 1, data, sizeof(data));
46-
47-
// SW1 to 3.0V (SW1_VOLT)
48-
data[0] = 0x35;
49-
data[1] = 0xF;
50-
i2c.write(8 << 1, data, sizeof(data));
51-
5229
}

0 commit comments

Comments
 (0)