File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
### Changed
8
8
- ` set_xxx(true_or_false) ` methods of the Registers and the Extended Capabilities are split into ` set_xxx() ` and ` clear_xxx() ` .
9
+ - ` CapabilityParameters1::max_primary_stream_array_size ` is renamed to ` CapabilityParameters1::maximum_primary_stream_array_size ` .
9
10
10
11
## 0.6.0 - 2021-04-27
11
12
### Added
Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ impl CapabilityParameters1 {
240
240
241
241
/// Returns the value of the Maximum Primary Stream Array Size field.
242
242
#[ must_use]
243
- pub fn max_primary_stream_array_size ( self ) -> u8 {
243
+ pub fn maximum_primary_stream_array_size ( self ) -> u8 {
244
244
self . 0 . get_bits ( 12 ..=15 ) . try_into ( ) . unwrap ( )
245
245
}
246
246
@@ -266,7 +266,7 @@ impl_debug_from_methods! {
266
266
stopped_short_packet_capability,
267
267
stopped_edtla_capability,
268
268
contiguous_frame_id_capability,
269
- max_primary_stream_array_size ,
269
+ maximum_primary_stream_array_size ,
270
270
xhci_extended_capabilities_pointer
271
271
}
272
272
}
You can’t perform that action at this time.
0 commit comments