@@ -845,7 +845,7 @@ MspHelper.prototype.process_data = function(dataHandler) {
845845 const serialPort = {
846846 identifier : data . readU8 ( ) ,
847847 scenario : data . readU8 ( ) ,
848- }
848+ } ;
849849 FC . SERIAL_CONFIG . ports . push ( serialPort ) ;
850850 }
851851 FC . SERIAL_CONFIG . mspBaudRate = data . readU32 ( ) ;
@@ -1658,7 +1658,7 @@ MspHelper.prototype.process_data = function(dataHandler) {
16581658 }
16591659 }
16601660 }
1661- }
1661+ } ;
16621662
16631663/**
16641664 * Encode the request body for the MSP request with the given code and return it as an array of bytes.
@@ -2330,7 +2330,7 @@ MspHelper.prototype.setRawRx = function(channels) {
23302330 }
23312331
23322332 MSP . send_message ( MSPCodes . MSP_SET_RAW_RC , buffer , false ) ;
2333- }
2333+ } ;
23342334
23352335/**
23362336 * Send a request to read a block of data from the dataflash at the given address and pass that address and a dataview
@@ -2568,7 +2568,7 @@ MspHelper.prototype.sendVoltageConfig = function(onCompleteCallback) {
25682568 MSP . send_message ( MSPCodes . MSP_SET_VOLTAGE_METER_CONFIG , buffer , false , nextFunction ) ;
25692569 }
25702570
2571- }
2571+ } ;
25722572
25732573MspHelper . prototype . sendCurrentConfig = function ( onCompleteCallback ) {
25742574
@@ -2598,7 +2598,7 @@ MspHelper.prototype.sendCurrentConfig = function(onCompleteCallback) {
25982598 MSP . send_message ( MSPCodes . MSP_SET_CURRENT_METER_CONFIG , buffer , false , nextFunction ) ;
25992599 }
26002600
2601- }
2601+ } ;
26022602
26032603MspHelper . prototype . sendLedStripConfig = function ( onCompleteCallback ) {
26042604
@@ -2688,7 +2688,7 @@ MspHelper.prototype.sendLedStripConfig = function(onCompleteCallback) {
26882688
26892689 MSP . send_message ( MSPCodes . MSP_SET_LED_STRIP_CONFIG , buffer , false , nextFunction ) ;
26902690 }
2691- }
2691+ } ;
26922692
26932693MspHelper . prototype . sendLedStripColors = function ( onCompleteCallback ) {
26942694 if ( FC . LED_COLORS . length == 0 ) {
@@ -2703,7 +2703,7 @@ MspHelper.prototype.sendLedStripColors = function(onCompleteCallback) {
27032703 }
27042704 MSP . send_message ( MSPCodes . MSP_SET_LED_COLORS , buffer , false , onCompleteCallback ) ;
27052705 }
2706- }
2706+ } ;
27072707
27082708MspHelper . prototype . sendLedStripModeColors = function ( onCompleteCallback ) {
27092709
@@ -2733,7 +2733,7 @@ MspHelper.prototype.sendLedStripModeColors = function(onCompleteCallback) {
27332733
27342734 MSP . send_message ( MSPCodes . MSP_SET_LED_STRIP_MODECOLOR , buffer , false , nextFunction ) ;
27352735 }
2736- }
2736+ } ;
27372737
27382738MspHelper . prototype . serialPortFunctionMaskToFunctions = function ( functionMask ) {
27392739 const self = this ;
@@ -2747,7 +2747,7 @@ MspHelper.prototype.serialPortFunctionMaskToFunctions = function(functionMask) {
27472747 }
27482748 }
27492749 return functions ;
2750- }
2750+ } ;
27512751
27522752MspHelper . prototype . serialPortFunctionsToMask = function ( functions ) {
27532753 const self = this ;
@@ -2761,7 +2761,7 @@ MspHelper.prototype.serialPortFunctionsToMask = function(functions) {
27612761 }
27622762 }
27632763 return mask ;
2764- }
2764+ } ;
27652765
27662766MspHelper . prototype . sendRxFailConfig = function ( onCompleteCallback ) {
27672767 let nextFunction = send_next_rxfail_config ;
@@ -2792,7 +2792,7 @@ MspHelper.prototype.sendRxFailConfig = function(onCompleteCallback) {
27922792 }
27932793 MSP . send_message ( MSPCodes . MSP_SET_RXFAIL_CONFIG , buffer , false , nextFunction ) ;
27942794 }
2795- }
2795+ } ;
27962796
27972797MspHelper . prototype . setArmingEnabled = function ( doEnable , disableRunawayTakeoffPrevention , onCompleteCallback ) {
27982798 if ( semver . gte ( FC . CONFIG . apiVersion , API_VERSION_1_37 )
@@ -2822,7 +2822,7 @@ MspHelper.prototype.setArmingEnabled = function(doEnable, disableRunawayTakeoffP
28222822 onCompleteCallback ( ) ;
28232823 }
28242824 }
2825- }
2825+ } ;
28262826
28272827MspHelper . prototype . loadSerialConfig = function ( callback ) {
28282828 const mspCode = semver . gte ( FC . CONFIG . apiVersion , API_VERSION_1_43 ) ? MSPCodes . MSP2_COMMON_SERIAL_CONFIG : MSPCodes . MSP_CF_SERIAL_CONFIG ;
0 commit comments