Commit 8d4a955f authored by Ivan Tyagov's avatar Ivan Tyagov

Use CLI option.

parent 1f2c1a59
......@@ -180,6 +180,7 @@ int main(int argc, char **argv)
COUPLER_ID = arguments.id;
I2C_VIRTUAL_MODE = arguments.mode;
I2C_BLOCK_DEVICE_NAME = arguments.device;
HEART_BEAT_INTERVAL = arguments.heart_beat_interval;
// convert arguments.slave_address_list -> I2C_SLAVE_ADDR_LIST
i = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment