[wpilib] Remove I2C Warnings (#7677)

SystemCore won't have the I2C issues.
This commit is contained in:
Thad House
2025-01-14 11:31:47 -08:00
committed by GitHub
parent 45d7549ca9
commit fa71fb55a2
5 changed files with 1 additions and 32 deletions

View File

@@ -17,13 +17,6 @@ I2C::I2C(Port port, int deviceAddress)
: m_port(static_cast<HAL_I2CPort>(port)), m_deviceAddress(deviceAddress) {
int32_t status = 0;
if (port == I2C::Port::kOnboard) {
FRC_ReportWarning(
"Onboard I2C port is subject to system lockups. See Known "
"Issues page for "
"details");
}
HAL_InitializeI2C(m_port, &status);
FRC_CheckErrorStatus(status, "Port {}", static_cast<int>(port));