Made prescaler automatic

This commit is contained in:
BlackMark 2020-02-21 16:32:39 +01:00
parent e82fb9971e
commit 3eb298053b
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 629be83f8ad97cfcfe0d9d4cbad04e1b1f17c695
Subproject commit 5c3fb99c1905559f3a01bf18321b570600a3db2e

View File

@ -5,7 +5,7 @@
void i2cTest()
{
using namespace i2c;
using config = Hardware<Prescaler::PRESCALER_1, 100000>;
using config = Hardware<100000>;
I2c<config> twi;
constexpr auto I2CADDRESS = 0x4B;