This commit is contained in:
J. Nick Koston 2023-06-09 18:32:50 -05:00
parent a792c4494f
commit 6c8e755bf8
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ namespace ratgdo {
ESP_LOGD(TAG, "Openings: %d", (byte1 << 8) | byte2); ESP_LOGD(TAG, "Openings: %d", (byte1 << 8) | byte2);
} else if (cmd == 0x285) { } else if (cmd == 0x285) {
this->motionState = MotionState::MOTION_STATE_DETECTED; // toggle bit this->motionState = MotionState::MOTION_STATE_DETECTED; // toggle bit
ESP_LOGD(TAG, "Motion: %d (toggle)", motion); ESP_LOGD(TAG, "Motion: %d (toggle)", this->motionState);
} else { } else {
ESP_LOGD(TAG, "Unknown command: %04x", cmd); ESP_LOGD(TAG, "Unknown command: %04x", cmd);
} }