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
2 changes: 1 addition & 1 deletion include/rcp/mock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ inline acf::WireErrorCode wire_error_code_for(const std::error_code& ec) noexcep
if (ec == make_error_code(regmap::RegMapErrc::invalid_parameter)) return acf::WireErrorCode::InvalidParameter;
if (ec == avtp::make_error_code(avtp::AvtpErrc::short_buffer)) return acf::WireErrorCode::InvalidParameter; // e.g. GPIO/SPI payload not exactly the required length
if (ec == make_error_code(gpio::GpioErrc::pin_index_out_of_range)) return acf::WireErrorCode::InvalidParameter;
if (ec == make_error_code(spi::SpiErrc::channel_out_of_range)) return acf::WireErrorCode::UnsupportedCmd; // reserved evt[2:0] selection, extraction §5.4/Table entries at 110b
if (ec == make_error_code(spi::SpiErrc::bad_channel)) return acf::WireErrorCode::UnsupportedCmd; // reserved evt[2:0] selection, extraction §5.4/Table entries at 110b
if (ec == endpoint::make_error_code(endpoint::EndpointErrc::reserved_evt_row2))
return acf::WireErrorCode::UnsupportedCmd; // Table 33 Row 2 evt[2:0] in 001b-110b, extraction §13.5
if (ec == make_error_code(i2c::I2cErrc::config_write_not_supported))
Expand Down
Loading
Loading