From 53952bdee11ca683953483593702c9b7aac4ab38 Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Mon, 22 Jan 2024 13:58:14 -0600 Subject: [PATCH] hdzero - comma unneeded; revert/add osd 16bit comment --- src/js/msp/MSPHelper.js | 2 +- src/js/tabs/osd.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/js/msp/MSPHelper.js b/src/js/msp/MSPHelper.js index b60a71e11..391657a44 100644 --- a/src/js/msp/MSPHelper.js +++ b/src/js/msp/MSPHelper.js @@ -25,7 +25,7 @@ function MspHelper () { 'IRC_TRAMP': 13, 'RUNCAM_DEVICE_CONTROL': 14, // support communitate with RunCam Device 'LIDAR_TF': 15, - 'HDZERO_OSD': 16, // matches: FUNCTION_HDZERO_OSD = (1 << 16), // 65536 in saidinesh5/Emuflight: src/main/io/serial.h + 'HDZERO_OSD': 16 // matches: FUNCTION_HDZERO_OSD = (1 << 16), // 65536 in saidinesh5/Emuflight: src/main/io/serial.h }; self.REBOOT_TYPES = { diff --git a/src/js/tabs/osd.js b/src/js/tabs/osd.js index df64f72d6..b44dbe1b7 100644 --- a/src/js/tabs/osd.js +++ b/src/js/tabs/osd.js @@ -1784,7 +1784,8 @@ OSD.msp = { * b: blink flag * y: y coordinate * x: x coordinate - * 00vb yyyy yyxx xxxx + * 0000 vbyy yyyx xxxx + * 00vb yyyy yyxx xxxx MSP 1.52 only? */ helpers: { unpack: {