mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-23 11:05:00 +02:00
Use a proper master I2C driver.
This commit is contained in:
+1
-1
@@ -1313,7 +1313,7 @@ void CSerialPort::processMessage(uint8_t type, const uint8_t* buffer, uint16_t l
|
||||
|
||||
#if defined(I2C_REPEATER)
|
||||
case MMDVM_I2C_DATA: {
|
||||
err = i2C1.write(buffer, length);
|
||||
err = i2C1.write(buffer[0U], buffer + 1U, length - 1U);
|
||||
if (err != 0U) {
|
||||
DEBUG2("Received invalid I2C data", err);
|
||||
sendNAK(err);
|
||||
|
||||
Reference in New Issue
Block a user