Commit Graph
5 Commits
Author SHA1 Message Date
Ari Sundholm 04c9137e29 Move default input field from profiles to initconfig
This makes things consistent. Without this change, the default
input would be dictated by the profile associated with AV1.
2017-11-11 00:45:49 +02:00
Ari Sundholm d638b6a650 Shrink write_userdata() by 20 bytes 2017-11-11 00:25:33 +02:00
Ari Sundholm 571b588da7 Shrink the code by 16 bytes by using an array to map values 2017-11-11 00:25:33 +02:00
Ari Sundholm ab61fd0c67 Don't save initconfig every time the physical input and profile change
This spares the Flash from some unnecessary writes. If the profile
tied to a physical input changes, this change will be reflected in the
initconfig when the new profile is loaded.
2017-11-11 00:25:33 +02:00
Ari Sundholm 1979bdb333 Save the last profile used for each physical input 2017-11-02 23:38:43 +02:00