mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-10 18:24:11 +01:00
49c153003c
Scales each channel only based on max and min calibrated values. The neutral value is now ignored so the joystick sees a linear range between min and max. This is particularly useful to allow the full range of values for throttle to be passed through to the joystick.
4 lines
196 B
C
4 lines
196 B
C
extern uint32_t pios_usb_rctx_id;
|
|
|
|
extern void PIOS_USB_RCTX_Update(uint32_t usbrctx_id, const uint16_t channel[], const int16_t channel_min[], const int16_t channel_max[], uint8_t num_channels);
|