Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed May 21, 2024
2 parents 1448fa5 + 9b0d1f7 commit 99c1d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/led_effect.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def __init__(self, config):
self.config = config
self.printer = config.get_printer()
self.gcode = self.printer.lookup_object('gcode')
self.gcode_macro = self.printer.lookup_object('gcode_macro')
self.gcode_macro = self.printer.load_object(config, 'gcode_macro')
self.handler = self.printer.load_object(config, 'led_effect')
self.frameRate = 1.0 / config.getfloat('frame_rate',
default=24, minval=1, maxval=60)
Expand Down

0 comments on commit 99c1d80

Please sign in to comment.