Use std::array, std::span, split void* ctl functions into typed API
This commit is contained in:
@@ -71,7 +71,7 @@ int main() {
|
||||
std::copy(uid.id, uid.id + 8, resp.board_id.begin());
|
||||
w6300::net_info info;
|
||||
w6300::get_net_info(&info);
|
||||
std::copy(info.mac, info.mac + 6, resp.mac.begin());
|
||||
resp.mac = info.mac;
|
||||
send_bytes(encode_response(msg->message_id, resp));
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user