diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-10-07 14:48:41 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-10-07 14:48:41 +0200 |
commit | 537991b83ca979c4a41465896cda789d9ebb6370 (patch) | |
tree | e91a8df2f866d3d89743e00e930a50c8968c1d91 | |
parent | c58d845339c0d09fc703a1c730d89a7a00990906 (diff) | |
download | px4-firmware-537991b83ca979c4a41465896cda789d9ebb6370.tar.gz px4-firmware-537991b83ca979c4a41465896cda789d9ebb6370.tar.bz2 px4-firmware-537991b83ca979c4a41465896cda789d9ebb6370.zip |
Revert "Remove range command"
This reverts commit c58d845339c0d09fc703a1c730d89a7a00990906.
-rw-r--r-- | src/drivers/sf0x/sf0x.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/drivers/sf0x/sf0x.cpp b/src/drivers/sf0x/sf0x.cpp index 11913b6cd..801bcf40a 100644 --- a/src/drivers/sf0x/sf0x.cpp +++ b/src/drivers/sf0x/sf0x.cpp @@ -494,10 +494,6 @@ SF0X::measure() /* * Send the command to begin a measurement. */ - - // XXX we probably should not try to talk to the sensor - // it seems to mind UART traffic. - #if 0 char cmd = SF0X_TAKE_RANGE_REG; ret = ::write(_fd, &cmd, 1); @@ -506,7 +502,6 @@ SF0X::measure() log("write fail %d", ret); return ret; } - #endif ret = OK; |