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

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

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({