aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/neopixel.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-08-07 15:34:08 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-08-07 15:37:05 -0400
commitf6d1ab2ea2c2dcb6107ae5b89cfecbc27d241a37 (patch)
tree9176196b71dd0547d1c54ac95860410c947c896c /klippy/extras/neopixel.py
parent383fb1dbfd18d4507a5dd9affbbf7f9cd743e55f (diff)
downloadkutter-f6d1ab2ea2c2dcb6107ae5b89cfecbc27d241a37.tar.gz
kutter-f6d1ab2ea2c2dcb6107ae5b89cfecbc27d241a37.tar.xz
kutter-f6d1ab2ea2c2dcb6107ae5b89cfecbc27d241a37.zip
neopixel: Rework timing so that it works on AVR micro-controllers
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/neopixel.py')
-rw-r--r--klippy/extras/neopixel.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/klippy/extras/neopixel.py b/klippy/extras/neopixel.py
index dad6f18f..936e6ad0 100644
--- a/klippy/extras/neopixel.py
+++ b/klippy/extras/neopixel.py
@@ -35,9 +35,6 @@ class PrinterNeoPixel:
self.cmd_SET_LED,
desc=self.cmd_SET_LED_help)
def build_config(self):
- if self.mcu.get_constant_float('CLOCK_FREQ') <= 20000000:
- raise self.printer.config_error(
- "Neopixel is not supported on AVR micro-controllers")
cmd_queue = self.mcu.alloc_command_queue()
self.neopixel_send_cmd = self.mcu.lookup_command(
"neopixel_send oid=%c data=%*s", cq=cmd_queue)