legoino
legoino copied to clipboard
init() returns immediately if already scanning
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.