Reply To: OSSC Pro firmware v0.80

#67458
marqs
Participant

    The internal C structs for mode_data_t (used for P-LM presets and A-LM/SCL output presets) and smp_preset_t (used for A-LM/SCL sampling presets) are defined here. The mode_data_t/smp_preset_t arrays are stored in the profile binary after common header and respective item-specific header.

    When mapping previously saved modes into the preset list of new FW version, one has to assume that mode_data_t/smp_preset_t structure has not changed across versions (so far it has been quite stable) and compare name of each source preset with ones in destination, and only do replacement if they match. That’s something that could also perhaps be done in future firmware version by prompting if user wants to integrate old presets when a version mismatch between firmware default preset list and the one stored into flash/SD is identified.