Skip to content
Permalink
Browse files

Make config.offset range more general from [-500,500] to [INT16_MIN,I…

…NT16_MAX]
  • Loading branch information
manup committed Sep 18, 2019
1 parent 8239d34 commit 65db7989b6d44c722d251fbdad2b53471b331753
Showing with 1 addition and 1 deletion.
  1. +1 −1 resource.cpp
@@ -232,7 +232,7 @@ void initResourceDescriptors()
rItemDescriptors.emplace_back(ResourceItemDescriptor(DataTypeString, RConfigLong));
rItemDescriptors.emplace_back(ResourceItemDescriptor(DataTypeUInt8, RConfigLevelMin));
rItemDescriptors.emplace_back(ResourceItemDescriptor(DataTypeString, RConfigMode));
rItemDescriptors.emplace_back(ResourceItemDescriptor(DataTypeInt16, RConfigOffset, -500, 500));
rItemDescriptors.emplace_back(ResourceItemDescriptor(DataTypeInt16, RConfigOffset, INT16_MIN, INT16_MAX));
rItemDescriptors.emplace_back(ResourceItemDescriptor(DataTypeBool, RConfigOn));
rItemDescriptors.emplace_back(ResourceItemDescriptor(DataTypeUInt8, RConfigPending));
rItemDescriptors.emplace_back(ResourceItemDescriptor(DataTypeUInt32, RConfigPowerup));

0 comments on commit 65db798

Please sign in to comment.
You can’t perform that action at this time.