Add log message when a packet is received
This commit is contained in:
@@ -105,6 +105,8 @@ void loop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void processPacket(const Packet *packet) {
|
void processPacket(const Packet *packet) {
|
||||||
|
Serial.println("Got a packet");
|
||||||
|
|
||||||
// Update last rolling codes each time a packet from a real hub is detected
|
// Update last rolling codes each time a packet from a real hub is detected
|
||||||
if (packet->source == 0x0000) {
|
if (packet->source == 0x0000) {
|
||||||
lastRollingCode1 = packet->rollingCode1;
|
lastRollingCode1 = packet->rollingCode1;
|
||||||
|
|||||||
Reference in New Issue
Block a user