Add Huawei P20 and P20 Pro #399

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-07-15 09:18:58 +02:00
parent d6b848c0e9
commit f484dd004c
2 changed files with 12 additions and 0 deletions

View file

@ -37,6 +37,16 @@ var CameraMakes = map[string]string{
}
var CameraModels = map[string]string{
"EML-AL00": "P20",
"EML-L09": "P20",
"EML-L09C": "P20",
"EML-L29": "P20",
"EML-L29C": "P20",
"CLT-AL00": "P20 Pro",
"CLT-AL01": "P20 Pro",
"CLT-TL01": "P20 Pro",
"CLT-L09": "P20 Pro",
"CLT-L29": "P20 Pro",
"ELE-L29": "P30",
"ELE-AL00": "P30",
"ELE-L04": "P30",

View file

@ -17,6 +17,7 @@ var UnwantedDescriptions = map[string]bool{
"nor": true,
"dav": true,
"mde": true,
"mde_soft": true,
"edf": true,
"btfmdn": true,
"btf": true,
@ -25,6 +26,7 @@ var UnwantedDescriptions = map[string]bool{
"oznor": true,
"rpt": true,
"burst": true,
"sdr_HDRB": true,
}
var LowerCaseRegexp = regexp.MustCompile("[a-z0-9_\\-]+")