pwmcmds: allow 16-bit resolution
Signed-off-by: Janne Grunau <janne-3d@jannau.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
de124677b0
commit
e6c3eeafd7
|
@ -13,7 +13,7 @@ struct pwm_out_s {
|
|||
struct timer timer;
|
||||
struct gpio_pwm pin;
|
||||
uint32_t max_duration;
|
||||
uint8_t value, default_value;
|
||||
uint16_t value, default_value;
|
||||
};
|
||||
|
||||
static uint_fast8_t
|
||||
|
|
Loading…
Reference in New Issue