@@ -33,26 +33,14 @@ local supportedPlatforms = {
33
33
34
34
local supportedRadios =
35
35
{
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 ,
52
40
}
53
41
54
42
local ver , rad , maj , min , rev = getVersion ()
55
- local radio = supportedRadios [rad ]
43
+ local radio = supportedRadios [tostring ( LCD_W ) .. " x " .. tostring ( LCD_H ) ]
56
44
57
45
if not radio then
58
46
error (" Radio not supported: " .. rad )
0 commit comments