Fix for building on linux

This commit is contained in:
Jonas Niesner
2023-05-15 18:24:58 +02:00
committed by GitHub
parent 4080273df1
commit 6b9f790c63

View File

@@ -7,6 +7,7 @@
#include "tag_db.h"
#include "web.h"
#include "serialap.h"
#include "udp.h"
#define UDPIP IPAddress(239, 10, 0, 1)
#define UDPPORT 16033
@@ -163,4 +164,4 @@ void UDPcomm::netSendDataAvail(struct pendingData* pending) {
buffer[0] = PKT_AVAIL_DATA_REQ;
memcpy(buffer + 1, pending, sizeof(struct pendingData));
udp.writeTo(buffer, sizeof(buffer), UDPIP, UDPPORT);
}
}