Skip to content

Commit 5963397

Browse files
chore: add parsing of serial data
1 parent 974fbe5 commit 5963397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flows.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@
12961296
"type": "function",
12971297
"z": "09012e75c72a4968",
12981298
"name": "setSerial",
1299-
"func": "msg.serial_id = \"/dev/tty/USB0\"\nreturn msg;",
1299+
"func": "msg.serial_id = \"/dev/tty/USB0\"\nmsg.payload = JSON.parse(msg.payload)\nreturn msg;",
13001300
"outputs": 1,
13011301
"noerr": 0,
13021302
"initialize": "",

0 commit comments

Comments
 (0)