Skip to content
Commit abb09009 authored by Dawid Niedzwiecki's avatar Dawid Niedzwiecki Committed by Anas Nashif
Browse files

i2c_emul: init i2c config



Initialize the i2c config of the emulator based on the clock_frequency
property.

The emulator can be used without calling the i2c_configure function, but
the i2c_get_config would return an error. With this change, it is
possible to get the config prior to the i2c_configure call.

Signed-off-by: default avatarDawid Niedzwiecki <dn@semihalf.com>
parent 9f3d90e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment