DeskControl/src/lib/settings.h
Mark van Renswoude 5d013b4273 Implemented basic home screen
Refactored settings and global state to reduce overhead
Consolidated configuration into class constants
(I really didn't like all the shouting in the code :-))
2020-01-30 10:28:01 +01:00

25 lines
315 B
C

#ifndef __settings
#define __settings
#include <stdint.h>
#include <string.h>
struct SettingsHeights
{
uint8_t Offset;
uint16_t Preset[2];
};
struct SettingsContainer
{
SettingsHeights Height;
};
extern bool readSettings();
extern void writeSettingsHeights();
extern SettingsContainer Settings;
#endif