mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
dynamic properties for bars; new 'property_valid()' helper
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@749 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ int widget_timer_init(WIDGET * Self)
|
||||
memset(Timer, 0, sizeof(WIDGET_TIMER));
|
||||
|
||||
/* load properties */
|
||||
property_load(section, "expression", "1", &Timer->expression);
|
||||
property_load(section, "expression", NULL, &Timer->expression);
|
||||
property_load(section, "update", "100", &Timer->update);
|
||||
property_load(section, "active", "1", &Timer->active);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user