MausTec / edge-o-matic-3000

Firmware for the Edge-o-Matic 3000
GNU General Public License v3.0
103 stars 29 forks source link

Write out config.json if missing on device startup #7

Closed MauAbata closed 3 years ago

MauAbata commented 3 years ago

In the config load routine, the device should check if config.json is present. If it is not, it should be initialized with default values.

This also includes a bug where config is completely empty on device startup if there is no SD card, therefore loadConfigFromSD was never called.

MauAbata commented 3 years ago

Closed in v0.2.2 or prior.