remove default size from send

master
Hideaki Tai 4 years ago
parent 8439fdd373
commit 7ba521db62

@ -223,12 +223,12 @@ namespace arx {
} }
// one-line sender // one-line sender
void send(const String& ip, const uint32_t universe_, const uint8_t* const data, const uint16_t size = 512) { void send(const String& ip, const uint32_t universe_, const uint8_t* const data, const uint16_t size) {
set_universe(universe_); set_universe(universe_);
streaming_data(data, size); streaming_data(data, size);
send_packet(ip); send_packet(ip);
} }
void send(const String& ip, const uint8_t net_, const uint8_t subnet_, const uint8_t universe_, const uint8_t* const data, const uint16_t size = 512) { void send(const String& ip, const uint8_t net_, const uint8_t subnet_, const uint8_t universe_, const uint8_t* const data, const uint16_t size) {
set_universe(net_, subnet_, universe_); set_universe(net_, subnet_, universe_);
streaming_data(data, size); streaming_data(data, size);
send_packet(ip); send_packet(ip);

Loading…
Cancel
Save