Unit test fixes
This commit is contained in:
parent
df1a769d10
commit
478d6d9431
@ -19,7 +19,9 @@
|
||||
namespace RoboidControl {
|
||||
namespace Arduino {
|
||||
|
||||
#if defined(ARDUINO) && defined(HAS_WIFI)
|
||||
WiFiUDP* udp;
|
||||
#endif
|
||||
|
||||
void ParticipantUDP::Setup() {
|
||||
#if defined(ARDUINO) && defined(HAS_WIFI)
|
||||
|
@ -25,9 +25,7 @@
|
||||
|
||||
namespace RoboidControl {
|
||||
|
||||
ParticipantUDP::ParticipantUDP(int port) {
|
||||
this->ipAddress = "0.0.0.0";
|
||||
this->port = port;
|
||||
ParticipantUDP::ParticipantUDP(int port) : Participant("0.0.0.0", port) {
|
||||
this->remoteSite = nullptr;
|
||||
if (this->port == 0)
|
||||
this->isIsolated = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user