Set pin for light MOSFET to low in MOS_Init
This commit is contained in:
@@ -13,7 +13,7 @@ int MOS_Init(void)
|
|||||||
|
|
||||||
// PB2: MOSFET #3 Lights
|
// PB2: MOSFET #3 Lights
|
||||||
DDRB |= BIT(PB2); // Output
|
DDRB |= BIT(PB2); // Output
|
||||||
PORTB |= BIT(PB2); // High
|
PORTB &= ~BIT(PB2); // Low
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user