Add log message when a packet is received

This commit is contained in:
2024-02-13 11:51:40 +11:00
parent 7adbff6890
commit 39b61997d2

View File

@@ -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;