@@ -33,26 +33,14 @@ local supportedPlatforms = {
3333
3434local supportedRadios =
3535{
36- [" x3" ] = supportedPlatforms .x7 ,
37- [" x7" ] = supportedPlatforms .x7 ,
38- [" x7s" ] = supportedPlatforms .x7 ,
39- [" t12" ] = supportedPlatforms .x7 ,
40- [" xlite" ] = supportedPlatforms .x7 ,
41- [" xlites" ] = supportedPlatforms .x7 ,
42- [" x9lite" ] = supportedPlatforms .x7 ,
43- [" x9d" ] = supportedPlatforms .x9 ,
44- [" x9d+" ] = supportedPlatforms .x9 ,
45- [" x9d+2019" ] = supportedPlatforms .x9 ,
46- [" x9e" ] = supportedPlatforms .x9 ,
47- [" x10" ] = supportedPlatforms .horus ,
48- [" x10express" ] = supportedPlatforms .horus ,
49- [" x12s" ] = supportedPlatforms .horus ,
50- [" NV14" ] = supportedPlatforms .nv14 ,
51- [" t16" ] = supportedPlatforms .horus ,
36+ [" 128x64" ] = supportedPlatforms .x7 ,
37+ [" 212x64" ] = supportedPlatforms .x9 ,
38+ [" 480x272" ] = supportedPlatforms .horus ,
39+ [" 320x480" ] = supportedPlatforms .nv14 ,
5240}
5341
5442local ver , rad , maj , min , rev = getVersion ()
55- local radio = supportedRadios [rad ]
43+ local radio = supportedRadios [tostring ( LCD_W ) .. " x " .. tostring ( LCD_H ) ]
5644
5745if not radio then
5846 error (" Radio not supported: " .. rad )
0 commit comments