Skip to content

Commit

Permalink
higher rainbow frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
ASDosjani committed Aug 6, 2023
1 parent 86d4923 commit 011baf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/js/msp/MSPHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@ MspHelper.prototype.process_data = function(dataHandler) {
FC.LED_CONFIG_VALUES = {
brightness: data.readU8(),
rainbow_delta: data.readU8(),
rainbow_freq: data.readU8(),
rainbow_freq: data.readU16(),
};
break;
case MSPCodes.MSP_SET_LED_STRIP_CONFIG_VALUES:
Expand Down Expand Up @@ -2643,7 +2643,7 @@ MspHelper.prototype.sendLedStripConfigValues = function(onCompleteCallback) {
const buffer = [];
buffer.push8(FC.LED_CONFIG_VALUES.brightness);
buffer.push8(FC.LED_CONFIG_VALUES.rainbow_delta);
buffer.push8(FC.LED_CONFIG_VALUES.rainbow_freq);
buffer.push16(FC.LED_CONFIG_VALUES.rainbow_freq);
MSP.send_message(MSPCodes.MSP_SET_LED_STRIP_CONFIG_VALUES, buffer, false, onCompleteCallback);
};

Expand Down
2 changes: 1 addition & 1 deletion src/tabs/led_strip.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
</div>
<span i18n="ledStripRainbowFreqSliderTitle"></span>
<div class="rainbowFreqSlider">
<input type="range" min="1" max="200"/>
<input type="range" min="1" max="360"/>
<label></label>
<div class="helpicon cf_tip" i18n_title="ledStripRainbowFreqSliderHelp"></div>
</div>
Expand Down

0 comments on commit 011baf9

Please sign in to comment.