aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2020-12-07 18:15:38 +0000
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2020-12-07 18:15:38 +0000
commitfd4694046449ef27dc73e055af654a650db9e7e5 (patch)
tree6402a0f2dc5c4e9d12dd6c46b73e43a70481b289
parentf92de5e81ef9dea7d4bbd53faec55ebcf1939440 (diff)
Mintor change to remove reference.
Caused compile issues with PatternPlasma on Arduino compiler.
-rw-r--r--ESP32-HUB75-MatrixPanel-I2S-DMA.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ESP32-HUB75-MatrixPanel-I2S-DMA.h b/ESP32-HUB75-MatrixPanel-I2S-DMA.h
index 9fb3561..e20ee33 100644
--- a/ESP32-HUB75-MatrixPanel-I2S-DMA.h
+++ b/ESP32-HUB75-MatrixPanel-I2S-DMA.h
@@ -303,7 +303,7 @@ class MatrixPanel_I2S_DMA : public Adafruit_GFX {
while(!i2s_parallel_is_previous_buffer_free()) {}
}
- inline void setPanelBrightness(int &b)
+ inline void setPanelBrightness(int b)
{
// Change to set the brightness of the display, range of 1 to matrixWidth (i.e. 1 - 64)
brightness = b;