diff options
author | Brendan Le Foll <brendan.le.foll@intel.com> | 2015-09-07 11:12:07 +0100 |
---|---|---|
committer | Brendan Le Foll <brendan.le.foll@intel.com> | 2015-09-08 14:42:04 +0100 |
commit | b2a0bbfcbcb65d597325c286b4b692e9bab523a1 (patch) | |
tree | ea34d5b7c9a06125b4ef4223fc94ae4b99414c34 | |
parent | 07343e2ee70f8c6521019fe4eac3584a8694f193 (diff) |
hellomraa.c: Remove i2c calls
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
-rw-r--r-- | examples/hellomraa.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/hellomraa.c b/examples/hellomraa.c index 64c8bb2..3a7bc9a 100644 --- a/examples/hellomraa.c +++ b/examples/hellomraa.c @@ -36,13 +36,6 @@ main(int argc, char** argv) fprintf(stdout, "hello mraa\n Version: %s\n Running on %s\n", mraa_get_version(), board_name); - i2c_bus = mraa_get_i2c_bus_count(); - - for (i = 0; i < i2c_bus; i++) { - i2c_adapter = mraa_get_i2c_bus_id(i); - fprintf(stdout, "I2C[%d] adapter=%d\n", i, i2c_adapter); - } - mraa_deinit(); return MRAA_SUCCESS; |