fix textformat without unit

This commit is contained in:
Viktor Markstädter committed 2022-04-05 21:25:51 +02:00
1 parent 7bb4250a29
commit f458f75728
1 file changed
+1 -1
+1 -1
View File
@@ -274,7 +274,7 @@ def main():
'/SetCurrent': {'initial': 0, 'textformat': _a},
'/MaxCurrent': {'initial': 0, 'textformat': _a},
'/MCU/Temperature': {'initial': 0, 'textformat': _degC},
'/StartStop': {'initial': 0}
'/StartStop': {'initial': 0, 'textformat': lambda p, v: (str(v))}
}
)