Merge pull request #1621 from balena-io/nebra-hnt

Add nebra-hnt to raspberry pi variants
This commit is contained in:
bulldozer-balena[bot] 2021-03-12 17:14:17 +00:00 committed by GitHub
commit 752a51b314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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