Commit 7458a9d
committed
fix(canned-messages): stop writing deprecated allow_input_source (#2022)
CannedMessageConfig saves derived and wrote the deprecated allowInputSource
field (allow_input_source = 10) on every save. The field has been removed
from active use upstream with no successor \u2014 the firmware derives the input
source from the rotary1Enabled / updown1Enabled flags.
- Stop writing cmc.allowInputSource on save.
- No read-side change needed: the field was never persisted (absent from the
SwiftData model and UpdateSwiftData), so values arriving from older firmware
are already ignored without crashing.1 parent e531f15 commit 7458a9d
1 file changed
Lines changed: 4 additions & 7 deletions
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
198 | 195 | | |
199 | 196 | | |
200 | 197 | | |
| |||
0 commit comments