Skip to content
Prev Previous commit
Next Next commit
giga: cleanup stray function
  • Loading branch information
facchinm committed Oct 26, 2023
commit 9f048160fd5630f3b1be0387a6802fe3f19ad1a4
10 changes: 0 additions & 10 deletions variants/GIGA/variant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,16 +162,6 @@ extern "C" {
}
}

#include "drivers/I2C.h"

void fixup3V1Rail() {
mbed::I2C i2c(PB_7, PB_6);
char data[2];
data[0]=0x42;
data[1]=(1);
i2c.write(8 << 1, data, sizeof(data));
}

void initVariant() {
RTCHandle.Instance = RTC;
// Turn off LED from bootloader
Expand Down