rename namespace to fix error on Uno WiFi rev2

master
Hideaki Tai 4 years ago
parent 1da9205aa8
commit 7ef60c2e6f

@ -58,7 +58,7 @@
#endif // ARTNET_ENABLE_ETHER #endif // ARTNET_ENABLE_ETHER
namespace arduino namespace arx
{ {
namespace artnet namespace artnet
{ {
@ -450,14 +450,14 @@ namespace arduino
} }
#ifdef ARTNET_ENABLE_WIFI #ifdef ARTNET_ENABLE_WIFI
using ArtnetWiFi = arduino::artnet::Manager<WiFiUDP>; using ArtnetWiFi = arx::artnet::Manager<WiFiUDP>;
using ArtnetWiFiSender = arduino::artnet::Sender<WiFiUDP>; using ArtnetWiFiSender = arx::artnet::Sender<WiFiUDP>;
using ArtnetWiFiReceiver = arduino::artnet::Receiver<WiFiUDP>; using ArtnetWiFiReceiver = arx::artnet::Receiver<WiFiUDP>;
#endif #endif
#ifdef ARTNET_ENABLE_ETHER #ifdef ARTNET_ENABLE_ETHER
using Artnet = arduino::artnet::Manager<EthernetUDP>; using Artnet = arx::artnet::Manager<EthernetUDP>;
using ArtnetSender = arduino::artnet::Sender<EthernetUDP>; using ArtnetSender = arx::artnet::Sender<EthernetUDP>;
using ArtnetReceiver = arduino::artnet::Receiver<EthernetUDP>; using ArtnetReceiver = arx::artnet::Receiver<EthernetUDP>;
#endif #endif
#endif // ARDUINO_ARTNET_H #endif // ARDUINO_ARTNET_H

Loading…
Cancel
Save