SAMA5 PWM: Cosmetic changes to debug output

This commit is contained in:
Gregory Nutt
2013-11-06 14:46:19 -06:00
parent 3aa348035d
commit 27c8c83b91
+2
View File
@@ -1138,6 +1138,7 @@ static int pwm_start(FAR struct pwm_lowerhalf_s *dev,
/* Enable the channel */ /* Enable the channel */
pwm_putreg(chan, SAM_PWM_ENA_OFFSET, PWM_CHID(chan->channel)); pwm_putreg(chan, SAM_PWM_ENA_OFFSET, PWM_CHID(chan->channel));
pwm_dumpregs(chan, "After start");
return OK; return OK;
} }
@@ -1351,6 +1352,7 @@ FAR struct pwm_lowerhalf_s *sam_pwminitialize(int channel)
/* Now were are initialized */ /* Now were are initialized */
g_pwm.initialized = true; g_pwm.initialized = true;
pwm_dumpregs(chan, "After Initialization");
} }
/* Configure all pins for this channel as inputs */ /* Configure all pins for this channel as inputs */