commit | 00e07b6834db6bc6de0aec63a4a34e042970d944 | [log] [tgz] |
---|---|---|
author | Chris Gibson <cgibson@google.com> | Thu Jan 19 00:16:06 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jan 19 00:16:06 2017 +0000 |
tree | a9488dc6d0825938a0bc29edb8e0c80b3a650214 | |
parent | c7b39d19cab74bcdcbaee8ac6432a88c0fd60c0f [diff] | |
parent | 3c25b83ab939e29c42c8dda98feca64b59548142 [diff] |
Merge "buildroot: Fix missing parameter when setting laser channel"
diff --git a/fs/skeleton/usr/bin/set_laser_channel.platform_gfiberlt b/fs/skeleton/usr/bin/set_laser_channel.platform_gfiberlt index 439709e..48ced0e 100755 --- a/fs/skeleton/usr/bin/set_laser_channel.platform_gfiberlt +++ b/fs/skeleton/usr/bin/set_laser_channel.platform_gfiberlt
@@ -40,7 +40,7 @@ fi # Program the laser channel. -result=$(i2cset -y 0 0x51 0x90 $1 i) +result=$(i2cset -y 0 0x51 0x90 0 $1 i) if [ "$?" -ne "0" ]; then echo "Failed to set laser channel! i2cset error: $result" exit 1