diff --git a/odxtools/parameters/reservedparameter.py b/odxtools/parameters/reservedparameter.py index 87967d60..8018896e 100644 --- a/odxtools/parameters/reservedparameter.py +++ b/odxtools/parameters/reservedparameter.py @@ -53,6 +53,7 @@ def _encode_positioned_into_pdu(self, physical_value: Optional[ParameterValue], encode_state: EncodeState) -> None: encode_state.cursor_byte_position += (encode_state.cursor_bit_position + self.bit_length + 7) // 8 + encode_state.cursor_bit_position = 0 encode_state.emplace_bytes(b'', self.short_name) @override