mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
Reverts the last 2 Rpc changes (#114)
* Revert "Fully asigns the ConnectionInfo struct (#113)" This reverts commit9a3100b221. * Revert "Passes the ConnectionInfo of the Rpc client on server callback (#112)" This reverts commit7e9754acff.
This commit is contained in:
committed by
Peter Johnson
parent
9a3100b221
commit
e952236e1a
@@ -5,8 +5,7 @@
|
||||
|
||||
#include "ntcore.h"
|
||||
|
||||
std::string callback1(nt::StringRef name, nt::StringRef params_str,
|
||||
const nt::ConnectionInfo& conn_info) {
|
||||
std::string callback1(nt::StringRef name, nt::StringRef params_str) {
|
||||
auto params = nt::UnpackRpcValues(params_str, NT_DOUBLE);
|
||||
if (params.empty()) {
|
||||
std::fputs("empty params?\n", stderr);
|
||||
|
||||
Reference in New Issue
Block a user