Successfully compiled the first code with RoboidControl
This commit is contained in:
parent
8ccc826be9
commit
fdf4d3aff6
@ -196,6 +196,8 @@ bool LocalParticipant::Send(Participant* remoteParticipant, IMessage* msg) {
|
|||||||
Arduino::LocalParticipant* thisArduino =
|
Arduino::LocalParticipant* thisArduino =
|
||||||
static_cast<Arduino::LocalParticipant*>(this);
|
static_cast<Arduino::LocalParticipant*>(this);
|
||||||
return thisArduino->Send(remoteParticipant, bufferSize);
|
return thisArduino->Send(remoteParticipant, bufferSize);
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -233,6 +235,8 @@ bool LocalParticipant::Publish(IMessage* msg) {
|
|||||||
Arduino::LocalParticipant* thisArduino =
|
Arduino::LocalParticipant* thisArduino =
|
||||||
static_cast<Arduino::LocalParticipant*>(this);
|
static_cast<Arduino::LocalParticipant*>(this);
|
||||||
return thisArduino->Publish(msg);
|
return thisArduino->Publish(msg);
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,9 +87,9 @@ class LocalParticipant : public Participant {
|
|||||||
#if defined(__unix__) || defined(__APPLE__)
|
#if defined(__unix__) || defined(__APPLE__)
|
||||||
int sock;
|
int sock;
|
||||||
#endif
|
#endif
|
||||||
sockaddr_in remote_addr;
|
// sockaddr_in remote_addr;
|
||||||
sockaddr_in server_addr;
|
// sockaddr_in server_addr;
|
||||||
sockaddr_in broadcast_addr;
|
// sockaddr_in broadcast_addr;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user