formatting

This commit is contained in:
2025-07-04 10:29:00 -07:00
parent c9d112f3fa
commit d705f57799
4 changed files with 34 additions and 36 deletions

View File

@ -28,8 +28,7 @@ static const int CLOCK_MOD[MOD_CHOICE_SIZE] PROGMEM = {
// Internal Clock Unity
1,
// Divisors
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 16, 24, 32, 64, 128
};
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 16, 24, 32, 64, 128};
// This represents the number of clock pulses for a 96 PPQN clock source
// that match the above div/mult mods.
@ -39,8 +38,7 @@ static const int CLOCK_MOD_PULSES[MOD_CHOICE_SIZE] PROGMEM = {
// Internal Clock Pulses
96,
// Divisor Pulses (96 * X)
192, 288, 384, 480, 576, 672, 768, 864, 960, 1056, 1152, 1536, 2304, 3072, 6144, 12288
};
192, 288, 384, 480, 576, 672, 768, 864, 960, 1056, 1152, 1536, 2304, 3072, 6144, 12288};
static const byte DEFAULT_CLOCK_MOD_INDEX = 8; // x1 or 96 PPQN.

View File

@ -42,7 +42,6 @@ class StateManager {
// Indicate that state has changed and we should save.
void markDirty();
// This struct holds the data that identifies the firmware version.
struct Metadata {
byte version;
@ -70,6 +69,7 @@ class StateManager {
byte selected_save_slot;
ChannelState channel_data[Gravity::OUTPUT_COUNT];
};
private:
bool _isDataValid();
void _saveMetadata();