2017-08-12 Fred Gleason <fredg@paravelsystems.com>

* Implemented a driver for WheatNet SLIO devices.
This commit is contained in:
Fred Gleason
2017-08-12 16:50:49 -04:00
parent 98e9c89dec
commit 6a174ae612
8 changed files with 489 additions and 7 deletions

View File

@@ -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;