commit | 2b1f406265362520f6c8742c921437d7a4ef3e77 | [log] [tgz] |
---|---|---|
author | Chris Gibson <cgibson@google.com> | Tue Jan 10 19:45:17 2017 -0800 |
committer | Chris Gibson <cgibson@google.com> | Tue Jan 10 19:45:17 2017 -0800 |
tree | a1c69e9fd1c99cc5c6dc2afda82431b00f077e44 | |
parent | dd7689a175e948640bb44e7c0d99bb672abba7d5 [diff] |
buildroot: set laser channel using both bytes Change-Id: I9e03ac65bb6d81be917688e07c5ca97b640b2d80
diff --git a/fs/skeleton/usr/bin/set_laser_channel.platform_gfiberlt b/fs/skeleton/usr/bin/set_laser_channel.platform_gfiberlt index e822152..439709e 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 0x91 $1) +result=$(i2cset -y 0 0x51 0x90 $1 i) if [ "$?" -ne "0" ]; then echo "Failed to set laser channel! i2cset error: $result" exit 1