legoino icon indicating copy to clipboard operation
legoino copied to clipboard

init() returns immediately if already scanning

Open DavidPowell opened this issue 2 years ago • 0 comments

Replaces PR #72 with a simpler solution.

Within the init() function, check whether a scan is already ongoing. If so, return immediately. This prevents resets from repeated initalisation within a loop.

Closes #60.

DavidPowell avatar Sep 01 '22 07:09 DavidPowell