aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-litecell15/hw_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-litecell15/hw_misc.c')
-rw-r--r--src/osmo-bts-litecell15/hw_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bts-litecell15/hw_misc.c b/src/osmo-bts-litecell15/hw_misc.c
index cd53e26..49232b2 100644
--- a/src/osmo-bts-litecell15/hw_misc.c
+++ b/src/osmo-bts-litecell15/hw_misc.c
@@ -63,7 +63,7 @@ int lc15bts_led_set(enum lc15bts_led_color c)
return -EINVAL;
}
- fd = open("/sys/class/leds/usr0/brightness", O_WRONLY);
+ fd = open("/var/lc15/leds/led0/brightness", O_WRONLY);
if (fd < 0)
return -ENODEV;
@@ -73,7 +73,7 @@ int lc15bts_led_set(enum lc15bts_led_color c)
}
close(fd);
- fd = open("/sys/class/leds/usr1/brightness", O_WRONLY);
+ fd = open("/var/lc15/leds/led1/brightness", O_WRONLY);
if (fd < 0)
return -ENODEV;