Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed the behaviour of var in command laws #1955

Merged
merged 1 commit into from Nov 26, 2016

Conversation

EwoudSmeur
Copy link
Member

It used to be int16_t, but that easily overflows, for example in https://github.com/paparazzi/paparazzi/blob/master/conf/airframes/examples/quadshot_asp21_spektrum.xml#L44

servo_value and command_value are already int32_t, so I don't see a reason
to stick to int16_t

It used to be int16_t, but that easily overflows
servo_value and command_value are already int32_t, so there is no reason
to stick to int16_t
@flixr
Copy link
Member

flixr commented Nov 26, 2016

LGTM

@flixr flixr merged commit cd3b9ed into paparazzi:master Nov 26, 2016
@EwoudSmeur EwoudSmeur deleted the command_laws_var branch November 28, 2016 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants