use of CMD_* instead of magic numbers

This commit is contained in:
Michael Davidsaver
2018-09-29 15:01:11 -07:00
parent e6902ee41f
commit 2fec84461d
4 changed files with 5 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ void BeaconEmitter::send(ByteBuffer* buffer, TransportSendControl* control)
}
// send beacon
control->startMessage((int8)0, 12+2+2+16+2);
control->startMessage((int8)CMD_BEACON, 12+2+2+16+2);
buffer->put(_guid.value, 0, sizeof(_guid.value));