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