Skip to content

Commit

Permalink
Fix after function rename
Browse files Browse the repository at this point in the history
  • Loading branch information
lukipuki committed May 24, 2024
1 parent ce485b0 commit f47b7b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/yaroc/rs.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class MessageHandler(object):
@staticmethod
def new(dns: Dict[str, str], meshtastic_override_mac: str | None): ...
def meshtastic_serial_msg(self, payload: bytes) -> list[SiPunch]: ...
def msh_status_update(
def meshtastic_status_update(
self, payload: bytes, now: datetime, recv_mac_address: str
) -> MshLogMessage | None: ...
def punches(self, payload: bytes, mac_address: str) -> list[SiPunch]: ...
Expand Down
2 changes: 1 addition & 1 deletion python/yaroc/sources/mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ async def _on_message(self, msg: Message):
f"yar/2/e/{self.meshtastic_channel}/"
):
recv_mac_addr = topic[10 + len(self.meshtastic_channel) :]
self.handler.msh_status_update(
self.handler.meshtastic_status_update(
MqttForwader._payload_to_bytes(msg.payload), now, recv_mac_addr
)

Expand Down

0 comments on commit f47b7b3

Please sign in to comment.