Successfully compiled the first code with RoboidControl

This commit is contained in:
Pascal Serrarens 2025-04-01 12:47:23 +02:00
parent 8ccc826be9
commit fdf4d3aff6
2 changed files with 7 additions and 3 deletions

View File

@ -196,6 +196,8 @@ bool LocalParticipant::Send(Participant* remoteParticipant, IMessage* msg) {
Arduino::LocalParticipant* thisArduino =
static_cast<Arduino::LocalParticipant*>(this);
return thisArduino->Send(remoteParticipant, bufferSize);
#else
return false;
#endif
}
@ -233,6 +235,8 @@ bool LocalParticipant::Publish(IMessage* msg) {
Arduino::LocalParticipant* thisArduino =
static_cast<Arduino::LocalParticipant*>(this);
return thisArduino->Publish(msg);
#else
return false;
#endif
}

View File

@ -87,9 +87,9 @@ class LocalParticipant : public Participant {
#if defined(__unix__) || defined(__APPLE__)
int sock;
#endif
sockaddr_in remote_addr;
sockaddr_in server_addr;
sockaddr_in broadcast_addr;
// sockaddr_in remote_addr;
// sockaddr_in server_addr;
// sockaddr_in broadcast_addr;
#endif