Update to latest std

This commit is contained in:
pjht 2024-08-18 08:45:35 -05:00
parent 33f2c6f003
commit 51b08c6871
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -45,7 +45,7 @@ fn callback(call: IncomingCall) {
let server_lock = SERVER.read(); let server_lock = SERVER.read();
let server = server_lock.as_ref().unwrap(); let server = server_lock.as_ref().unwrap();
if call.func == 0 { if call.func == 0 {
let kind = postcard::from_bytes(&call.args()).unwrap(); let kind = postcard::from_bytes(call.args()).unwrap();
let ret = postcard::to_stdvec(&server.register_dev(call.from, kind)).unwrap(); let ret = postcard::to_stdvec(&server.register_dev(call.from, kind)).unwrap();
call.send_return(&ret); call.send_return(&ret);
} }