Skip to content

Commit

Permalink
msp: use proper uid
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleiner committed Jul 22, 2024
1 parent ff39447 commit 95bd585
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions src/io/msp.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,23 +101,7 @@ static void msp_process_serial_cmd(msp_t *msp, msp_magic_t magic, uint16_t cmd,
break;
}
case MSP_UID: {
uint8_t data[12] = {
0x0,
0x0,
0x0,
0x0,

0xd,
0xe,
0xa,
0xd,

0xb,
0xe,
0xe,
0xf,
};
msp_send_reply(msp, magic, cmd, data, 12);
msp_send_reply(msp, magic, cmd, (uint8_t *)UID_BASE, 12);
break;
}
case MSP_ANALOG: {
Expand Down

0 comments on commit 95bd585

Please sign in to comment.