initial commit of save/load slot

This commit is contained in:
2025-07-03 12:55:25 -07:00
parent d21c0a810f
commit c9c85e64ec
6 changed files with 160 additions and 90 deletions

View File

@ -15,6 +15,7 @@ struct AppState {
byte selected_sub_param = 0;
byte selected_channel = 0; // 0=tempo, 1-6=output channel
byte selected_shuffle = 0;
byte selected_save_slot = 0; // The currently active save slot.
Clock::Source selected_source = Clock::SOURCE_INTERNAL;
Clock::Pulse selected_pulse = Clock::PULSE_PPQN_24;
Channel channel[Gravity::OUTPUT_COUNT];
@ -31,6 +32,8 @@ enum ParamsMainPage : uint8_t {
PARAM_MAIN_SOURCE,
PARAM_MAIN_PULSE,
PARAM_MAIN_ENCODER_DIR,
PARAM_MAIN_SAVE_DATA,
PARAM_MAIN_LOAD_DATA,
PARAM_MAIN_RESET_STATE,
PARAM_MAIN_LAST,
};