1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

Code cleaning

This commit is contained in:
norbert-walter
2024-09-18 16:58:59 +02:00
parent ed2439febc
commit 0ede06588f
2 changed files with 1 additions and 5 deletions

View File

@@ -81,8 +81,8 @@ void hardwareInit()
FastLED.addLeds<WS2812B, OBP_BACKLIGHT_LED, GRB>(backlight, NUM_BACKLIGHT_LED);
// Init PCF8574 digital outputs
Wire.setClock(I2C_SPEED); // Set I2C clock on 10 kHz
if(pcf8574_Out.begin()){ // Initialize PCF8574
Wire.setClock(I2C_SPEED); // Set I2C clock on 10 kHz
pcf8574_Out.write8(255); // Clear all outputs
}
}