diff options
Diffstat (limited to 'tests_schema/daemon/testdevice/testdevice.cc')
-rw-r--r-- | tests_schema/daemon/testdevice/testdevice.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests_schema/daemon/testdevice/testdevice.cc b/tests_schema/daemon/testdevice/testdevice.cc index 3f73d69..7a29eac 100644 --- a/tests_schema/daemon/testdevice/testdevice.cc +++ b/tests_schema/daemon/testdevice/testdevice.cc @@ -164,7 +164,7 @@ class TestDeviceHandler { if (params.GetInteger("volume", &volume_value)) { LOG(INFO) << cmd->GetName() << " volume: " << volume_value; - if (volume_value < 0 || volume_value > 1.0) { + if (volume_value < 0 || volume_value > 100) { // Invalid volume range value is specified. AbortCommand(cmd); return; |