diff options
author | Janne Grunau <janne-3d@jannau.net> | 2019-03-29 12:35:19 +0100 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-04-05 19:02:48 -0400 |
commit | e6c3eeafd79cac08172377f447c1dd963b5cb530 (patch) | |
tree | 13ecbe17fb27ef8ea132d69406e8e9770454868b | |
parent | de124677b06779a5ac4ade9b4841f2eaed57171d (diff) | |
download | kutter-e6c3eeafd79cac08172377f447c1dd963b5cb530.tar.gz kutter-e6c3eeafd79cac08172377f447c1dd963b5cb530.tar.xz kutter-e6c3eeafd79cac08172377f447c1dd963b5cb530.zip |
pwmcmds: allow 16-bit resolution
Signed-off-by: Janne Grunau <janne-3d@jannau.net>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | src/pwmcmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pwmcmds.c b/src/pwmcmds.c index 3de12d9c..fd380f8b 100644 --- a/src/pwmcmds.c +++ b/src/pwmcmds.c @@ -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 |