diff options
author | Daniel Friesel <derf@finalrewind.org> | 2013-07-28 23:26:55 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2013-07-28 23:26:55 +0200 |
commit | 0f6f9a79bfb1234bbfe2c561d4ce18953750c2e8 (patch) | |
tree | 508465d130d8077c11c47489c352219b56ea457d /commandline/i2cwrite.c | |
parent | 681e2e2674cf6c0639a403286241bdbd00e24236 (diff) |
rename i2cwrite to i2cset for i2c-tools compatibility
Diffstat (limited to 'commandline/i2cwrite.c')
-rw-r--r-- | commandline/i2cwrite.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/commandline/i2cwrite.c b/commandline/i2cwrite.c deleted file mode 100644 index 56031f9..0000000 --- a/commandline/i2cwrite.c +++ /dev/null @@ -1,22 +0,0 @@ -#include <unistd.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include "i2c-util.h" - -int main(int argc, char **argv) -{ - int i; - - i2c_init(); - i2c_start(); - - for (i = 1; i < argc; i++) { - i2c_tx_byte(atoi(argv[i])); - } - - i2c_stop(); - i2c_deinit(); - - return 0; -} |