mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 13:55:15 +00:00
drivers/timers/pwm.c: add missing new lines to some debug messages
This commit is contained in:
parent
5106c3fe3f
commit
493b0bf074
1 changed files with 3 additions and 3 deletions
|
|
@ -117,16 +117,16 @@ static void pwm_dump(FAR const char *msg, FAR const struct pwm_info_s *info,
|
|||
int i;
|
||||
#endif
|
||||
|
||||
pwminfo("%s: frequency: %d", msg, info->frequency);
|
||||
pwminfo("%s: frequency: %d\n", msg, info->frequency);
|
||||
|
||||
#ifdef CONFIG_PWM_MULTICHAN
|
||||
for (i = 0; i < CONFIG_PWM_NCHANNELS; i++)
|
||||
{
|
||||
pwminfo(" channel: %d duty: %08x",
|
||||
pwminfo(" channel: %d duty: %08x\n",
|
||||
info->channels[i].channel, info->channels[i].duty);
|
||||
}
|
||||
#else
|
||||
pwminfo(" duty: %08x", info->duty);
|
||||
pwminfo(" duty: %08x\n", info->duty);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PWM_PULSECOUNT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue