Linux: Give an error if UDP is selected (#840)
UDP isn't implemented in Linux.
This commit is contained in:
committed by
Henrik Ekblad
parent
726a20dad9
commit
4c52c56605
@@ -227,6 +227,9 @@ MY_DEFAULT_RX_LED_PIN in your sketch instead to enable LEDs
|
||||
#include "core/MyGatewayTransportEthernet.cpp"
|
||||
#elif defined(MY_GATEWAY_LINUX)
|
||||
// GATEWAY - Generic Linux
|
||||
#if defined(MY_USE_UDP)
|
||||
#error UDP mode is not available for Linux
|
||||
#endif
|
||||
#include "drivers/Linux/EthernetClient.h"
|
||||
#include "drivers/Linux/EthernetServer.h"
|
||||
#include "drivers/Linux/IPAddress.h"
|
||||
|
||||
Reference in New Issue
Block a user