projects
/
contrib
/
mraa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07343e2
)
hellomraa.c: Remove i2c calls
author
Brendan Le Foll
<brendan.le.foll@intel.com>
Mon, 7 Sep 2015 10:12:07 +0000
(11:12 +0100)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Tue, 8 Sep 2015 13:42:04 +0000
(14:42 +0100)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
examples/hellomraa.c
patch
|
blob
|
history
diff --git
a/examples/hellomraa.c
b/examples/hellomraa.c
index
64c8bb2
..
3a7bc9a
100644
(file)
--- 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;