Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3_cpp_extensions.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cm3cpp/i2c.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cm3cpp/i2c.cpp b/cm3cpp/i2c.cpp
index ec145d7..9e74ddf 100644
--- a/cm3cpp/i2c.cpp
+++ b/cm3cpp/i2c.cpp
@@ -44,6 +44,9 @@ I2c::I2c(Config i2c_conf) :
case 2:
_i2c = I2C2;
break;
+ case 3:
+ _i2c = I2C3;
+ break;
default:
break;
}