Skip to content

Commit

Permalink
correct typos
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Oct 13, 2024
1 parent aba1413 commit c97065f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ramses_rf/system/faultlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def handle_msg(self, msg: Message) -> None:

if msg.verb == RP and msg.payload[SZ_LOG_ENTRY] is None:
# such payloads have idx == "00" (is sentinel for null), so can't know the
# correspondings RQ's log_idx, but if verb == I_, safely assume log_idx is 0
# corresponding RQ's log_idx, but if verb == I_, safely assume log_idx is 0
return

self._process_msg(msg)
Expand Down
2 changes: 1 addition & 1 deletion src/ramses_tx/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ def parser_0418(payload: str, msg: Message) -> PayDictT._0418 | PayDictT._0418_N
return null_result

# NOTE: such payloads have idx=="00": if verb is I, can safely assume log_idx is 0,
# but for RP it is sentinel for null (we can't know the correspondings RQ's log_idx)
# but for RP it is sentinel for null (we can't know the corresponding RQ's log_idx)
elif hex_to_dts(payload[18:30]) is None:
null_result = {SZ_LOG_ENTRY: None}
if msg.verb == I_:
Expand Down

0 comments on commit c97065f

Please sign in to comment.