Fix errors in some board driver LED_Disable() functions.

This commit is contained in:
Dean Camera 2012-07-26 19:16:58 +00:00
parent efa5d54093
commit 5a0bd85330
4 changed files with 10 additions and 10 deletions

View file

@ -113,11 +113,11 @@
static inline void LEDs_Disable(void)
{
DDRB &= LEDS_PORTB_LEDS;
DDRB &= ~LEDS_PORTB_LEDS;
PORTB &= ~LEDS_PORTB_LEDS;
DDRD &= (LEDS_PORTD_LEDS << LEDS_PORTD_MASK_SHIFT);
DDRD &= ~(LEDS_PORTD_LEDS << LEDS_PORTD_MASK_SHIFT);
PORTD &= ~(LEDS_PORTD_LEDS << LEDS_PORTD_MASK_SHIFT);
DDRE &= LEDS_PORTE_LEDS;
DDRE &= ~LEDS_PORTE_LEDS;
PORTE &= ~LEDS_PORTE_LEDS;
}