mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-29 16:53:53 +01:00
2019-05-24 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdgpimon(1) that caused GPIO status to fail to be displayed in the status widgets.
This commit is contained in:
@@ -435,7 +435,7 @@ void MainWidget::eventsReportData()
|
||||
|
||||
void MainWidget::gpiStateChangedData(int matrix,int line,bool state)
|
||||
{
|
||||
// printf("gpiStateChanged(%d,%d,%d)\n",matrix,line,state);
|
||||
// printf("gpiStateChanged(%d,%d,%d)\n",matrix,line,state);
|
||||
|
||||
if(gpi_type_box->currentItem()!=RDMatrix::GpioInput) {
|
||||
return;
|
||||
@@ -454,7 +454,7 @@ void MainWidget::gpiStateChangedData(int matrix,int line,bool state)
|
||||
|
||||
void MainWidget::gpoStateChangedData(int matrix,int line,bool state)
|
||||
{
|
||||
// printf("gpoStateChanged(%d,%d,%d)\n",matrix,line,state);
|
||||
// printf("gpoStateChanged(%d,%d,%d)\n",matrix,line,state);
|
||||
|
||||
if(gpi_type_box->currentItem()!=RDMatrix::GpioOutput) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user