mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +01:00
tests/multi_bluetooth: Extend the deep sleep test timeout.
As per comment, if a boot.py is present that connects to Wi-Fi then waking can take a little longer. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
committed by
Damien George
parent
ff6491ded0
commit
4bdf2a2dc0
@@ -5,7 +5,9 @@
|
||||
from micropython import const
|
||||
import time, machine, bluetooth
|
||||
|
||||
TIMEOUT_MS = 4000
|
||||
# Note: This value can be much lower most of the time, but an ESP32 with a boot.py
|
||||
# that connects to Wi-Fi may take an extra 5 seconds after reboot.
|
||||
TIMEOUT_MS = 8000
|
||||
|
||||
_IRQ_CENTRAL_CONNECT = const(1)
|
||||
_IRQ_CENTRAL_DISCONNECT = const(2)
|
||||
|
||||
Reference in New Issue
Block a user