Doodle3D/doodle3d-firmware

Reuse hasControl logic

peteruithoven opened this issue · 0 comments

printer/fetch performs the same hasControl check as printer/print. This info is also returned from info/access / info/status.
Maybe we can reuse accessManager.hasControl in all places, the only downside seems that accessManager.setController(request.remoteAddress) would also need to be executed when the current remoteAddress is already the controller.