refactor: Convert detection sensor portnum payloads to text message (#688)

This commit is contained in:
Ben Meadors authored and GitHub committed 2023-08-22 22:49:36 -03:00
1 parent 1e03b0b5e8
commit f68e112c32
1 file changed
+1 -1
@@ -552,7 +552,7 @@ class MeshService : Service(), Logging {
to = toId,
time = rxTime * 1000L,
id = packet.id,
dataType = data.portnumValue,
dataType = if (data.portnumValue == Portnums.PortNum.DETECTION_SENSOR_APP_VALUE) Portnums.PortNum.TEXT_MESSAGE_APP_VALUE else data.portnumValue,
bytes = bytes,
hopLimit = hopLimit,
channel = packet.channel,