Revert "Log device errors on init"

This reverts commit 81641272ee5a7260b53550435100cf2bd60dd71d.
This commit is contained in:
CPD 2025-03-12 16:44:21 +01:00
parent 05f7d486af
commit 0ba87dcd3a

View File

@ -27,10 +27,7 @@ class DC2200(LedControlDevice):
# turn off
self.instr.write(f'SOURCE1:CBRightness:BRIGhtness 0')
self.instr.write('OUTPUT1:STATE ON')
for _ in range(10): # print max 10 errors
error = self.instr.query('SYSTem:ERRor?')
if error.startswith('+0'): break
log.error(f"DC2200 device error during initialization: {error}")
def on(self):
self.instr.write(f'SOURCE1:CBRightness:BRIGhtness 100')