Add log when attempting to send a packet

This commit is contained in:
2024-02-12 22:59:50 +11:00
parent a5c5a7ac19
commit be9de4a2f6

View File

@@ -217,6 +217,7 @@ bool sendFetchPosition(uint16_t destination) {
} }
bool sendPacket(Packet *packet) { bool sendPacket(Packet *packet) {
Serial.println("Attempting to send a packet");
packet->rollingCode1 = lastRollingCode1 + 1; packet->rollingCode1 = lastRollingCode1 + 1;
packet->rollingCode2 = lastRollingCode2 + 1; packet->rollingCode2 = lastRollingCode2 + 1;