- fix error in BT call controller
This commit is contained in:
parent
efd763d055
commit
db4512678a
|
|
@ -99,10 +99,10 @@ def answer_call(play_file: str):
|
|||
utils.log('Waiting for incoming call...')
|
||||
|
||||
# Wait for incoming call
|
||||
while not CALL_ADDED.value and not INTERRUPT_SIGNAL.value():
|
||||
while not CALL_ADDED.value and not INTERRUPT_SIGNAL.value:
|
||||
time.sleep(0.01)
|
||||
|
||||
if INTERRUPT_SIGNAL.value():
|
||||
if INTERRUPT_SIGNAL.value:
|
||||
utils.log(f'Interrupt signal detected, exiting.')
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue