FabGL
ESP32 Display Controller and Graphics Library

◆ lock()

bool lock ( int  timeOutMS)

Gets exclusive access to the device.

Parameters
timeOutMSTimeout in milliseconds to wait before fail.
Returns
True if the device has been locked.

Definition at line 91 of file ps2device.cpp.