mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 23:25:57 +01:00
2015-01-26 Fred Gleason <fredg@paravelsystems.com>
* Reverted GPI logic reversal for the Broadcast Tools GPI-16 in 'ripcd/btgpi16.cpp' and 'ripcd/btgpi16.h'.
This commit is contained in:
@@ -14722,3 +14722,6 @@
|
|||||||
in 'lib/rdmatrix.cpp' and 'lib/rdmatrix.h'.
|
in 'lib/rdmatrix.cpp' and 'lib/rdmatrix.h'.
|
||||||
* Added a driver for using tty modem lines for GPIO in
|
* Added a driver for using tty modem lines for GPIO in
|
||||||
'ripcd/modemlines.cpp' and 'ripcd/modemlines.h'.
|
'ripcd/modemlines.cpp' and 'ripcd/modemlines.h'.
|
||||||
|
2015-01-26 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Reverted GPI logic reversal for the Broadcast Tools GPI-16 in
|
||||||
|
'ripcd/btgpi16.cpp' and 'ripcd/btgpi16.h'.
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ void BtGpi16::processStatus()
|
|||||||
case 32:
|
case 32:
|
||||||
case 34:
|
case 34:
|
||||||
case 36:
|
case 36:
|
||||||
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,false);
|
emit gpiChanged(bt_matrix,gpi,false);
|
||||||
@@ -209,7 +209,7 @@ void BtGpi16::processStatus()
|
|||||||
}
|
}
|
||||||
bt_istate++;
|
bt_istate++;
|
||||||
}
|
}
|
||||||
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,true);
|
emit gpiChanged(bt_matrix,gpi,true);
|
||||||
|
|||||||
Reference in New Issue
Block a user