Skip to content

Commit 1737a2d

Browse files
Li.TianmingYour Name
authored andcommitted
Add msg field comment in display_message construct
1 parent f228451 commit 1737a2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/drivers/osd/msp_osd/msp_osd.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ void MspOsd::Run()
314314
msg[index++] = MSP_DP_WRITE_STRING;
315315
msg[index++] = 0x02; // row position
316316
msg[index++] = 0x14; // colum position
317-
msg[index++] = 0;
318-
msg[index++] = 0x03;
317+
msg[index++] = 0; // Icon attr
318+
msg[index++] = 0x03; // Icon index >
319319
memcpy(&msg[index++], &display_message, sizeof(msp_name_t));
320320
this->Send(MSP_CMD_DISPLAYPORT, &msg, sizeof(msg));
321321
}

0 commit comments

Comments
 (0)