You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
1234567891011121314151617181920212223 |
- #include "ch.h"
-
- #include "led.h"
- #include "sleep_led.h"
-
- void sleep_led_init(void) {
- // we could go the 'software way' -- just enable *some* timer
- // and go with callbacks
- // or we could go the 'hardware way' -- and use timer output to
- // pins directly
- }
-
- void sleep_led_enable(void) {
- led_set(1<<USB_LED_CAPS_LOCK);
- }
-
- void sleep_led_disable(void) {
- led_set(0);
- }
-
- void sleep_led_toggle(void) {
- // not working yet, state not saved anywhere currently
- }
|