Abstract away currentprint storage and retrieval
peteruithoven opened this issue · 0 comments
peteruithoven commented
The current print id is stored in the file /tmp/currentprint
. It might be nice to have the retrieval from and writing to that file abstracted away behind simple get and set functions, like: https://github.com/Doodle3D/doodle3d-firmware/blob/master/src/network/signin.lua#L105-L112
This groups the filename usage and makes it easier to change later on.