diff options
author | Julian Oes <julian@oes.ch> | 2013-10-11 10:16:45 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2013-10-11 10:16:45 +0200 |
commit | e2fef6b374e14f8c0f383557cf3569f8265ba034 (patch) | |
tree | ba3b5ccc58f86a9168d5ca1d1ff2e97cceb04153 /src/drivers/drv_pwm_output.h | |
parent | b25b9d37d53d3caab7c7eb2eed6f5cdbdd3f8804 (diff) | |
download | px4-firmware-e2fef6b374e14f8c0f383557cf3569f8265ba034.tar.gz px4-firmware-e2fef6b374e14f8c0f383557cf3569f8265ba034.tar.bz2 px4-firmware-e2fef6b374e14f8c0f383557cf3569f8265ba034.zip |
Use unsigned for channel counts
Diffstat (limited to 'src/drivers/drv_pwm_output.h')
-rw-r--r-- | src/drivers/drv_pwm_output.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/drv_pwm_output.h b/src/drivers/drv_pwm_output.h index 5a3a126d0..3357e67a5 100644 --- a/src/drivers/drv_pwm_output.h +++ b/src/drivers/drv_pwm_output.h @@ -99,7 +99,7 @@ typedef uint16_t servo_position_t; struct pwm_output_values { /** desired pulse widths for each of the supported channels */ servo_position_t values[PWM_OUTPUT_MAX_CHANNELS]; - int channel_count; + unsigned channel_count; }; /* |