1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-08-18 18:32:30 +02:00

Fix for I2C initialisation (missing pin definitions)

This commit is contained in:
Norbert Walter
2026-03-19 17:08:23 +00:00
parent 5fcca363f8
commit 7be72a8cc4
+1 -1
View File
@@ -141,7 +141,7 @@ void hardwareInit(GwApi *api)
GwLog *logger = api->getLogger();
GwConfigHandler *config = api->getConfig();
Wire.begin();
Wire.begin(OBP_I2C_SDA, OBP_I2C_SCL);
// Init PCF8574 digital outputs
Wire.setClock(I2C_SPEED_LOW); // Set I2C clock on 10 kHz
if(pcf8574_Modul1.begin()){ // Initialize PCF8574