pwmcmds: Wrap code to 80 columns
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
69247d87fb
commit
f1be6a3969
|
@ -38,7 +38,8 @@ void
|
|||
command_config_pwm_out(uint32_t *args)
|
||||
{
|
||||
struct gpio_pwm pin = gpio_pwm_setup(args[1], args[2], args[3]);
|
||||
struct pwm_out_s *p = oid_alloc(args[0], command_config_pwm_out, sizeof(*p));
|
||||
struct pwm_out_s *p = oid_alloc(args[0], command_config_pwm_out
|
||||
, sizeof(*p));
|
||||
p->pin = pin;
|
||||
p->default_value = args[4];
|
||||
p->max_duration = args[5];
|
||||
|
@ -76,4 +77,5 @@ command_set_pwm_out(uint32_t *args)
|
|||
{
|
||||
gpio_pwm_setup(args[0], args[1], args[2]);
|
||||
}
|
||||
DECL_COMMAND(command_set_pwm_out, "set_pwm_out pin=%u cycle_ticks=%u value=%hu");
|
||||
DECL_COMMAND(command_set_pwm_out,
|
||||
"set_pwm_out pin=%u cycle_ticks=%u value=%hu");
|
||||
|
|
Loading…
Reference in New Issue