Doodle3D / doodle3d-firmware

The API of the Doodle3D WiFi box. This can for example talk to print3d, save settings, update the firmware etc.
www.doodle3d.com
GNU General Public License v2.0
13 stars 9 forks source link

Abstract away currentprint storage and retrieval #78

Closed peteruithoven closed 7 years ago

peteruithoven commented 7 years ago

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.