diff --git a/codi-app/codi_st32_generated_functions.py b/codi-app/codi_st32_generated_functions.py index b42202c..320f5dd 100644 --- a/codi-app/codi_st32_generated_functions.py +++ b/codi-app/codi_st32_generated_functions.py @@ -901,7 +901,7 @@ def readMessage(msg): except Exception as e: print(e) - if cmdId == 143: + if cmdId == CMD_SYNC_SYS_SLEEP_STATUS: handled = True print("<- CoDiOFF") try: