Commit d85ef56
committed
AR: handle stupid build flag SR_DMTYPE=-1
I don't know how the bad example "-D SR_DMTYPE=-1" made it into platformio_override.sample.ini 🫣
mic type -1 = 255 was never supported by AR, and lead to undefined behavior due to a missing "case" in setup().
Fixed. Its still a stupid build_flags option, but at least now its handled properly.1 parent c8bda1a commit d85ef56
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1225 | 1225 | | |
1226 | 1226 | | |
1227 | 1227 | | |
1228 | | - | |
1229 | 1228 | | |
1230 | 1229 | | |
1231 | 1230 | | |
1232 | 1231 | | |
1233 | 1232 | | |
1234 | 1233 | | |
1235 | 1234 | | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
1236 | 1242 | | |
1237 | 1243 | | |
1238 | 1244 | | |
| |||
0 commit comments