Update the max length of a name in a sendValue packet (#1965)

This commit is contained in:
Richard Knoll authored and GitHub committed 2019-04-05 10:45:06 -07:00
1 parent c2c4554e84
commit 3761d1282a
3 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -160,7 +160,7 @@ namespace pxsim.radio {
}
export function sendValue(name: string, value: number) {
name = name.substr(0, 12);
name = name.substr(0, 8);
const msg: number[] = [];
msg.push()
board().radioState.datagram.send({