if (hmid && my_hmid) {
printf("Sending device with hmid %06x to bootloader\n", hmid);
- out[MSGID] = msgid++;
out[CTL] = 0x30;
out[TYPE] = 0x11;
SET_SRC(out, my_hmid);
cnt = 3;
do {
+ out[MSGID] = msgid++;
if (send_hm_message(&dev, &rdata, out)) {
break;
}