mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-09 22:43:11 +02:00
2019-12-20 Fred Gleason <fredg@paravelsystems.com>
* Added a debugging message to the 'LocalAudio::pollData()' method in ripcd(8).
This commit is contained in:
parent
1a81eb7cc9
commit
66baa5c5b6
@ -19366,3 +19366,6 @@
|
|||||||
2019-12-20 Fred Gleason <fredg@paravelsystems.com>
|
2019-12-20 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Added additional debugging messages to the 'Local Audio Adapter'
|
* Added additional debugging messages to the 'Local Audio Adapter'
|
||||||
driver in ripcd(8).
|
driver in ripcd(8).
|
||||||
|
2019-12-20 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Added a debugging message to the 'LocalAudio::pollData()' method
|
||||||
|
in ripcd(8).
|
||||||
|
@ -240,6 +240,8 @@ void LocalAudio::pollData()
|
|||||||
for(int i=0;i<bt_gpis;i++) {
|
for(int i=0;i<bt_gpis;i++) {
|
||||||
if((bt_gpi_values[i]=='T')!=bt_gpi_states[i]) {
|
if((bt_gpi_values[i]=='T')!=bt_gpi_states[i]) {
|
||||||
bt_gpi_states[i]=(bt_gpi_values[i]=='T');
|
bt_gpi_states[i]=(bt_gpi_values[i]=='T');
|
||||||
|
rda->syslog(LOG_DEBUG,"LocalAudio: emitting gpiChanged(%d,%d,%d)",
|
||||||
|
matrixNumber(),i,bt_gpi_states[i]);
|
||||||
emit gpiChanged(matrixNumber(),i,bt_gpi_states[i]);
|
emit gpiChanged(matrixNumber(),i,bt_gpi_states[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -335,8 +337,9 @@ void LocalAudio::InitializeHpi(RDMatrix *matrix)
|
|||||||
UpdateDb(matrix);
|
UpdateDb(matrix);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdateDb(matrix);
|
UpdateDb(matrix);
|
||||||
|
|
||||||
|
rda->syslog(LOG_DEBUG,"HPI GPIO started");
|
||||||
#endif // HPI
|
#endif // HPI
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user