You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/artisanlib/acaia.py
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -237,7 +237,8 @@ class ACAIA_TIMER(IntEnum):
237
237
HEARTBEAT_FREQUENCY:Final[int] =5# send the heartbeat every 5 sec
238
238
239
239
RELAY_STREAMING:Final[bool] =False# if set, configure Acaia relay (and COSMO) scales to streaming mode, otherwise they work in non-streaming mode reporting only weight changes
240
-
WEIGHT_ROUNDING:Final[bool] =False# if set, received weights are rounded to appropriate values based on scale max weight
240
+
WEIGHT_ROUNDING:Final[bool] =False# if set, received weights are rounded to appropriate values based on scales readability
241
+
# rounding for scales with readability>1 (to 4g), no rounding otherwise
if self.official_build and validate_signature and ('version' not in profile or QVersionNumber.fromString(profile['version'])[0] >= QVersionNumber(4,2,0)):
15661
15664
# # testing:
15662
-
# if self.official_build and validate_signature and 'version' in profile and 'signature' in profile:
15665
+
# if validate_signature and 'version' in profile and 'signature' in profile:
15663
15666
# official builds validate all profile signatures for files generated by Artisan versions >= v4.2
0 commit comments