Change reset power error message to logging

Since the reset will continue if the reset power and current power
is the same, error may confuse the user.

Change-Id: I35b9ef17afd47b5af5bd2b8882a44f63991fe509
Этот коммит содержится в:
Bill(Shuzhou) Liu
2023-07-27 15:18:28 -05:00
родитель 80d650b95a
Коммит aeb6c61f54
+1 -1
Просмотреть файл
@@ -1357,7 +1357,7 @@ def setPowerOverDrive(deviceList, value, autoRespond):
RETCODE = 1
continue
if new_power_cap.value == current_power_cap.value:
printErrLog(device,'Max power was already at: {}W'.format(new_power_cap.value / 1000000))
printLog(device,'Max power was already at: {}W'.format(new_power_cap.value / 1000000))
if current_power_cap.value < default_power_cap.value:
current_power_cap.value = default_power_cap.value