Revert "Remove range command"

This reverts commit c58d845339.
This commit is contained in:
Thomas Gubler 2014-10-07 14:48:41 +02:00
parent c58d845339
commit 537991b83c
1 changed files with 0 additions and 5 deletions

View File

@ -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;