Skip to content

Commit d1fe777

Browse files
committed
fix led_on to pass rgb tuple
1 parent 6af7675 commit d1fe777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/esp32spi_wsgiserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def _get_content_type(self, file): # pylint: disable=no-self-use
146146
# Our HTTP Request handlers
147147
def led_on(environ): # pylint: disable=unused-argument
148148
print("led on!")
149-
status_light.fill(0, 0, 100)
149+
status_light.fill((0, 0, 100))
150150
return web_app.serve_file("static/index.html")
151151

152152
def led_off(environ): # pylint: disable=unused-argument

0 commit comments

Comments
 (0)