From 3eb298053b41b979feda89282a20ede3804758bc Mon Sep 17 00:00:00 2001 From: BlackMark Date: Fri, 21 Feb 2020 16:32:39 +0100 Subject: [PATCH] Made prescaler automatic --- i2c/i2c | 2 +- i2c/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/i2c/i2c b/i2c/i2c index 629be83..5c3fb99 160000 --- a/i2c/i2c +++ b/i2c/i2c @@ -1 +1 @@ -Subproject commit 629be83f8ad97cfcfe0d9d4cbad04e1b1f17c695 +Subproject commit 5c3fb99c1905559f3a01bf18321b570600a3db2e diff --git a/i2c/main.cpp b/i2c/main.cpp index b3de4b4..c64336b 100644 --- a/i2c/main.cpp +++ b/i2c/main.cpp @@ -5,7 +5,7 @@ void i2cTest() { using namespace i2c; - using config = Hardware; + using config = Hardware<100000>; I2c twi; constexpr auto I2CADDRESS = 0x4B;