Corrected a bug which caused the atmel pwm clock prescaler set incorrectly.