From 7c26480ada7a413c530f076cbe2c703c28e68916 Mon Sep 17 00:00:00 2001 From: Florin Sarbu Date: Thu, 17 Jun 2021 11:53:49 +0200 Subject: [PATCH] Add revpi-connect, revpi-core-3 to Raspberry Pi variants We need the supervisor to be able to manage config.txt changes for these Revolution Pi boards too. Change-type: patch Signed-off-by: Florin Sarbu --- src/config/backends/config-txt.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/config/backends/config-txt.ts b/src/config/backends/config-txt.ts index 481a4242..e4dc4268 100644 --- a/src/config/backends/config-txt.ts +++ b/src/config/backends/config-txt.ts @@ -53,9 +53,14 @@ export class ConfigTxt extends ConfigBackend { public async matches(deviceType: string): Promise { return ( - ['fincm3', 'rt-rpi-300', '243390-rpi3', 'nebra-hnt'].includes( - deviceType, - ) || deviceType.startsWith('raspberry') + [ + 'fincm3', + 'rt-rpi-300', + '243390-rpi3', + 'nebra-hnt', + 'revpi-connect', + 'revpi-core-3', + ].includes(deviceType) || deviceType.startsWith('raspberry') ); }