diff options
author | Third Pin <redmine.thirdpin@gmail.com> | 2020-09-08 12:57:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-08 12:57:18 +0300 |
commit | 1229c03c875bf944b7a4949afab94e0b94dd350e (patch) | |
tree | 204e73a0beb5eb5d86370440a1d940bd98e1fb9a | |
parent | fc2cf2572474fc90fdb2b0a4f6b731ff37f859ad (diff) | |
parent | 22841f9ab82418145c7bb8da8c17dcad2b411601 (diff) |
Merge pull request #13 from thirdpin/feature/add_i2c3
[cm3cpp]: Add I2C3 to I2C constructor
-rw-r--r-- | cm3cpp/i2c.cpp | 3 |
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; } |