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:
Janne Grunau 2019-03-29 12:35:19 +01:00 committed by Kevin O'Connor
parent de124677b0
commit e6c3eeafd7
1 changed files with 1 additions and 1 deletions

View File

@ -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