Skip to content

Commit ac79a43

Browse files
committed
Fix an arduino due build issue for parallel output
1 parent 18097f2 commit ac79a43

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

FastLED.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
#define FASTLED_HAS_PRAGMA_MESSAGE
1212
#endif
1313

14-
#define FASTLED_VERSION 3001003
14+
#define FASTLED_VERSION 3001005
1515
#ifndef FASTLED_INTERNAL
1616
# ifdef FASTLED_HAS_PRAGMA_MESSAGE
17-
# pragma message "FastLED version 3.001.003"
17+
# pragma message "FastLED version 3.001.005"
1818
# else
19-
# warning FastLED version 3.001.003 (Not really a warning, just telling you here.)
19+
# warning FastLED version 3.001.005 (Not really a warning, just telling you here.)
2020
# endif
2121
#endif
2222

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=FastLED
2-
version=3.1.4
2+
version=3.1.5
33
author=Daniel Garcia
44
maintainer=Daniel Garcia <[email protected]>
55
sentence=Multi-platform library for controlling dozens of different types of LEDs along with optimized math, effect, and noise functions.

platforms/arm/sam/clockless_block_arm_sam.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ typedef union {
3030
#define T1_MARK (TOTAL - (T1+TADJUST))
3131
#define T2_MARK (T1_MARK - (T2+TADJUST))
3232
template <uint8_t LANES, int FIRST_PIN, int T1, int T2, int T3, EOrder RGB_ORDER = RGB, int XTRA0 = 0, bool FLIP = false, int WAIT_TIME = 50>
33-
class InlineBlockClocklessController : public CPixelLEDController<RGB_ORDER, LANES, 0xFF> {
33+
class InlineBlockClocklessController : public CPixelLEDController<RGB_ORDER, LANES, PORT_MASK> {
3434
typedef typename FastPin<FIRST_PIN>::port_ptr_t data_ptr_t;
3535
typedef typename FastPin<FIRST_PIN>::port_t data_t;
3636

@@ -81,7 +81,7 @@ class InlineBlockClocklessController : public CPixelLEDController<RGB_ORDER, LAN
8181

8282
virtual uint16_t getMaxRefreshRate() const { return 400; }
8383

84-
virtual void showPixels(PixelController<RGB_ORDER, LANES, 0xFF> & pixels) {
84+
virtual void showPixels(PixelController<RGB_ORDER, LANES, PORT_MASK> & pixels) {
8585
mWait.wait();
8686
showRGBInternal(pixels);
8787
sei();
@@ -90,7 +90,7 @@ class InlineBlockClocklessController : public CPixelLEDController<RGB_ORDER, LAN
9090

9191
static uint32_t showRGBInternal(PixelController<RGB_ORDER, LANES, PORT_MASK> &allpixels) {
9292
// Serial.println("Entering show");
93-
93+
9494
int nLeds = allpixels.mLen;
9595

9696
// Setup the pixel controller and load/scale the first byte

release_notes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
3.1.5
2+
* Fix due parallel output build issue
3+
14
3.1.4
25
* fix digispark avr build issue
36

0 commit comments

Comments
 (0)