Add option to rotate the display (#27)

I needed to cut the bootsplash to make room for adding this features.

Reviewed-on: https://git.pinkduck.xyz/awonak/libGravity/pulls/27
This commit is contained in:
2025-08-10 02:47:59 +00:00
parent c5965aa1f7
commit 6ada2aba30
7 changed files with 46 additions and 63 deletions

View File

@ -52,11 +52,12 @@ class StateManager {
// This struct holds the data that identifies the firmware version.
struct Metadata {
char sketch_name[16];
char version[16];
char sketch_name[12];
char version[5];
// Additional global/hardware settings
byte selected_save_slot;
bool encoder_reversed;
bool rotate_display;
};
struct ChannelState {
byte base_clock_mod_index;