Commit 711fe800 authored by Ivan Tyagov's avatar Ivan Tyagov

Handle callbacks dynamically.

parent 00a5d1a4
...@@ -12,7 +12,7 @@ const int DEFAULT_I2C_SLAVE_ADDR = 0x58; ...@@ -12,7 +12,7 @@ const int DEFAULT_I2C_SLAVE_ADDR = 0x58;
int I2C_SLAVE_ADDR_LIST[127] = {0}; int I2C_SLAVE_ADDR_LIST[127] = {0};
// the number of physical relays // the number of physical relays
int DEFAULT_RELAY_COUNT = 4; const int DEFAULT_RELAY_COUNT = 4;
// the block device at host machine // the block device at host machine
static char *DEFAULT_I2C_BLOCK_DEVICE_NAME = "/dev/i2c-1"; static char *DEFAULT_I2C_BLOCK_DEVICE_NAME = "/dev/i2c-1";
......
This diff is collapsed.
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