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

View File

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