Reverse polarity protection

Prevents controller damage if it is inadvertently connected to the battery the wrong way round.