From 46a985dc4e6c6a0cc1a943e58a06d160609f9f13 Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Wed, 9 May 2012 23:41:47 +0200 Subject: [PATCH] Fixed typos --- project/commands/cmd_pwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/commands/cmd_pwm.c b/project/commands/cmd_pwm.c index c327a0a..505470d 100644 --- a/project/commands/cmd_pwm.c +++ b/project/commands/cmd_pwm.c @@ -81,9 +81,9 @@ void cmd_pwm(uint8_t argc, char **argv) { pwmInit(); } - printf("Setting frequency ticks to %u%s", (uint16_t) frequencyTicks, CFG_PRINTF_NEWLINE); + printf("Setting frequency: %u ticks%s", (uint16_t) frequencyTicks, CFG_PRINTF_NEWLINE); pwmSetFrequencyInTicks(frequencyTicks); - printf("Setting duty cycle to %u%s", (uint16_t) dutyCycle, CFG_PRINTF_NEWLINE); + printf("Setting duty cycle: %u%%%s", (uint16_t) dutyCycle, CFG_PRINTF_NEWLINE); pwmSetDutyCycle(dutyCycle); if(! pwmStarted) { pwmStart(); -- 2.20.1