diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-11-08 05:48:01 +0300 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-11-08 05:48:01 +0300 |
commit | 1ca57f1746d11b239bfa3e4588170ee1d00c7b04 (patch) | |
tree | 3b2ab5d2a3b8ca44e7398d0dbe7481d856eaa999 /clockless_trinket.h | |
parent | c996c8a56502651bbf509cf8f787e1a8843d0e12 (diff) |
Possible fix for issues #67 (arduino 1.5.7 support) and #90 (gcc 4.8 issues?)
Diffstat (limited to 'clockless_trinket.h')
-rw-r--r-- | clockless_trinket.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clockless_trinket.h b/clockless_trinket.h index 4f7b7db3..63f037f9 100644 --- a/clockless_trinket.h +++ b/clockless_trinket.h @@ -261,6 +261,9 @@ protected: ADJDITHER2(d1,e1); ADJDITHER2(d2,e2); + hi = *port | mask; + lo = *port & ~mask; + // Sum of the clock counts across each row should be 10 for 8Mhz, WS2811 // The values in the D1/D2/D3 indicate how many cycles the previous column takes // to allow things to line back up. |