MOHAWK: Fix kLBAutoSync notifies.
This commit is contained in:
parent
9fa6b48e1a
commit
00f85fb580
1 changed files with 1 additions and 1 deletions
|
@ -2272,7 +2272,7 @@ void LBItem::stop() {
|
||||||
void LBItem::notify(uint16 data, uint16 from) {
|
void LBItem::notify(uint16 data, uint16 from) {
|
||||||
if (_timingMode == kLBAutoSync) {
|
if (_timingMode == kLBAutoSync) {
|
||||||
// TODO: is this correct?
|
// TODO: is this correct?
|
||||||
if (_periodMin == from && _periodMax == data) {
|
if (_periodMin == data && _periodMax == from) {
|
||||||
debug(2, "Handling notify 0x%04x (from %d)", data, from);
|
debug(2, "Handling notify 0x%04x (from %d)", data, from);
|
||||||
setNextTime(0, 0);
|
setNextTime(0, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue