mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
SCRIPT: wpiformat
This commit is contained in:
committed by
Peter Johnson
parent
ae6bdc9d25
commit
2109161534
@@ -152,8 +152,8 @@ static void SetupUdp(wpi::net::uv::Loop& loop) {
|
||||
outAddr.sin_port = htons(1150);
|
||||
|
||||
wpi::util::SmallVector<wpi::net::uv::Buffer, 4> sendBufs;
|
||||
wpi::net::raw_uv_ostream stream{sendBufs,
|
||||
[] { return GetBufferPool().Allocate(); }};
|
||||
wpi::net::raw_uv_ostream stream{
|
||||
sendBufs, [] { return GetBufferPool().Allocate(); }};
|
||||
ds->SetupSendBuffer(stream);
|
||||
|
||||
udpLocal->Send(outAddr, sendBufs, [](auto bufs, Error err) {
|
||||
|
||||
Reference in New Issue
Block a user