Commit 1e9093f8 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

examples/hwapi/hwconfig_console: Don't alloc memory in value().

parent 13288336
......@@ -3,10 +3,10 @@
class LEDClass:
def __init__(self, id): = id = "LED(%d):" % id
def value(self, v):
print("LED(%d):" %, v)
print(, v)
LED = LEDClass(1)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment