Merge pull request #511 from ADVANSEE/leds

leds: Fixes and enhancements
This commit is contained in:
Adam Dunkels 2014-06-11 22:37:34 +02:00
commit def57199b9
6 changed files with 31 additions and 43 deletions

View file

@ -77,13 +77,13 @@ void leds_blink(void);
#endif /* LEDS_CONF_ALL */
/**
* Returns the current status of all leds (respects invert)
* Returns the current status of all leds
*/
unsigned char leds_get(void);
void leds_set(unsigned char leds);
void leds_on(unsigned char leds);
void leds_off(unsigned char leds);
void leds_toggle(unsigned char leds);
void leds_invert(unsigned char leds);
/**
* Leds implementation