Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/rcp/mock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ class Server final {

static regmap::RegisterMap make_initial_register_map() {
regmap::RegisterMap regs;
regs.endpoint_count = 10;
regs.general.svr_ep_count = 10;
regs.generic_configs.resize(10);
regs.functional_configs.resize(10);
regs.ep_id_mapping = {
Expand Down Expand Up @@ -471,7 +471,7 @@ class Server final {
auto ec = ep0_.check_read_access(regmap::kEp0);
if (ec) return set_error_response(req, ec, out_resp, out_resp_payload);
out_resp_payload.resize(kEp0PartialReadLen);
avtp::detail::put_u32(out_resp_payload.data(), regs_.magic);
avtp::detail::put_u32(out_resp_payload.data(), regs_.general.magic);
out_resp = acf::make_response(req, acf::ResponseKind::ReadResponse);
return {};
}
Expand Down
Loading
Loading