Merge pull request #1547 from balena-io/add-alliance-rpi

Add config.txt support for Alliance rpi3
This commit is contained in:
bulldozer-balena[bot] 2020-12-12 01:35:25 +00:00 committed by GitHub
commit 8388df2392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,9 +52,8 @@ export class ConfigTxt extends ConfigBackend {
public async matches(deviceType: string): Promise<boolean> {
return (
deviceType.startsWith('raspberry') ||
deviceType === 'fincm3' ||
deviceType === 'rt-rpi-300'
['fincm3', 'rt-rpi-300', '243390-rpi3'].includes(deviceType) ||
deviceType.startsWith('raspberry')
);
}