diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2015-11-30 23:44:52 +0300 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2015-11-30 23:44:52 +0300 |
commit | 6ce5a17047ab8faff6424ce3e35e06dc5e566aa0 (patch) | |
tree | 5767b3bceaefb2d9bdbe4906b19e4ea7fe6af837 | |
parent | e3238486658453cc34b87a13fbfab1011ea526fd (diff) |
Tweak assert error in face of 8Mhz trinket setups
-rw-r--r-- | platforms/avr/clockless_trinket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/avr/clockless_trinket.h b/platforms/avr/clockless_trinket.h index c08f81b9..38c26984 100644 --- a/platforms/avr/clockless_trinket.h +++ b/platforms/avr/clockless_trinket.h @@ -91,7 +91,7 @@ static uint8_t gTimeErrorAccum256ths; template <uint8_t DATA_PIN, int T1, int T2, int T3, EOrder RGB_ORDER = RGB, int XTRA0 = 0, bool FLIP = false, int WAIT_TIME = 10> class ClocklessController : public CLEDController { - static_assert(T1 >= 3 && T2 >= 2 && T3 >= 3, "Not enough cycles - use a higher clock speed"); + static_assert(T1 >= 2 && T2 >= 2 && T3 >= 3, "Not enough cycles - use a higher clock speed"); typedef typename FastPin<DATA_PIN>::port_ptr_t data_ptr_t; typedef typename FastPin<DATA_PIN>::port_t data_t; |