mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 07:05:48 +01:00
2017-08-12 Fred Gleason <fredg@paravelsystems.com>
* Implemented a driver for WheatNet SLIO devices.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Load Switcher drivers for ripcd(8)
|
||||
//
|
||||
// (C) Copyright 2002-2016 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2017 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -61,6 +61,7 @@
|
||||
#include <swauthority.h>
|
||||
#include <unity4000.h>
|
||||
#include <vguest.h>
|
||||
#include <wheatnet_slio.h>
|
||||
|
||||
bool MainObject::LoadSwitchDriver(int matrix_num)
|
||||
{
|
||||
@@ -219,6 +220,10 @@ bool MainObject::LoadSwitchDriver(int matrix_num)
|
||||
ripcd_switcher[matrix_num]=new Unity4000(matrix,this);
|
||||
break;
|
||||
|
||||
case RDMatrix::WheatnetSlio:
|
||||
ripcd_switcher[matrix_num]=new WheatnetSlio(matrix,this);
|
||||
break;
|
||||
|
||||
default:
|
||||
ripcd_switcher[matrix_num]=NULL;
|
||||
delete matrix;
|
||||
|
||||
Reference in New Issue
Block a user