config: fix: attributes always use dash, not underscore

This commit is contained in:
Daniel Eklöf 2019-01-12 13:56:02 +01:00
parent 650e152091
commit 731ab848e1
4 changed files with 14 additions and 14 deletions

View file

@ -350,7 +350,7 @@ from_conf(const struct yml_node *node, const struct font *parent_font)
{
const struct yml_node *c = yml_get_value(node, "content");
const struct yml_node *name = yml_get_value(node, "name");
const struct yml_node *poll_interval = yml_get_value(node, "poll_interval");
const struct yml_node *poll_interval = yml_get_value(node, "poll-interval");
return battery_new(
yml_value_as_string(name),