MOHAWK: Fix kLBAutoSync notifies.

This commit is contained in:
Alyssa Milburn 2011-02-20 13:43:04 +01:00
parent 9fa6b48e1a
commit 00f85fb580

View file

@ -2272,7 +2272,7 @@ void LBItem::stop() {
void LBItem::notify(uint16 data, uint16 from) {
if (_timingMode == kLBAutoSync) {
// TODO: is this correct?
if (_periodMin == from && _periodMax == data) {
if (_periodMin == data && _periodMax == from) {
debug(2, "Handling notify 0x%04x (from %d)", data, from);
setNextTime(0, 0);
}