Пример #1
0
static int
_set_i2c(const uint8_t bus)
{
    if (ardu_breakout)
        return mux_set_i2c(bus, i2c_dev_0, SOL_UTIL_ARRAY_SIZE(i2c_dev_0));

    return 0;
}
Пример #2
0
static int
_set_i2c(const uint8_t bus)
{
    return mux_set_i2c(bus, i2c_dev_0, ARRAY_SIZE(i2c_dev_0));
}