mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-25 14:50:11 +01:00
2015-01-23 Fred Gleason <fredg@paravelsystems.com>
* Reversed the GPI logic polarity for the Broadcast Tools GPI-16 in 'ripcd/btgpi16.cpp' and 'ripcd/btgpi16.h'.
This commit is contained in:
@@ -14712,3 +14712,6 @@
|
|||||||
2015-01-09 Fred Gleason <fredg@paravelsystems.com>
|
2015-01-09 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Applied patch by Daniel Bair to add support for dark themes
|
* Applied patch by Daniel Bair to add support for dark themes
|
||||||
[GitHub pull request #000046].
|
[GitHub pull request #000046].
|
||||||
|
2015-01-23 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Reversed the GPI logic polarity for the Broadcast Tools GPI-16 in
|
||||||
|
'ripcd/btgpi16.cpp' and 'ripcd/btgpi16.h'.
|
||||||
|
|||||||
@@ -4,8 +4,6 @@
|
|||||||
//
|
//
|
||||||
// (C) Copyright 2002-2005,2010 Fred Gleason <fredg@paravelsystems.com>
|
// (C) Copyright 2002-2005,2010 Fred Gleason <fredg@paravelsystems.com>
|
||||||
//
|
//
|
||||||
// $Id:
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License version 2 as
|
||||||
// published by the Free Software Foundation.
|
// published by the Free Software Foundation.
|
||||||
@@ -203,7 +201,7 @@ void BtGpi16::processStatus()
|
|||||||
case 32:
|
case 32:
|
||||||
case 34:
|
case 34:
|
||||||
case 36:
|
case 36:
|
||||||
if(buffer[i]=='0') {
|
if(buffer[i]=='1') {
|
||||||
gpi=(bt_istate-6)/2;
|
gpi=(bt_istate-6)/2;
|
||||||
if(bt_gpi_state[gpi]&&(!bt_gpi_mask[gpi])) {
|
if(bt_gpi_state[gpi]&&(!bt_gpi_mask[gpi])) {
|
||||||
emit gpiChanged(bt_matrix,gpi,false);
|
emit gpiChanged(bt_matrix,gpi,false);
|
||||||
@@ -211,7 +209,7 @@ void BtGpi16::processStatus()
|
|||||||
}
|
}
|
||||||
bt_istate++;
|
bt_istate++;
|
||||||
}
|
}
|
||||||
if(buffer[i]=='1') {
|
if(buffer[i]=='0') {
|
||||||
gpi=(bt_istate-6)/2;
|
gpi=(bt_istate-6)/2;
|
||||||
if((!bt_gpi_state[gpi])&&(!bt_gpi_mask[gpi])) {
|
if((!bt_gpi_state[gpi])&&(!bt_gpi_mask[gpi])) {
|
||||||
emit gpiChanged(bt_matrix,gpi,true);
|
emit gpiChanged(bt_matrix,gpi,true);
|
||||||
|
|||||||
Reference in New Issue
Block a user