Browse Source
This change has two effects: 1. We always acknowledge a param write no matter if the value was actually changed or not. This is according to the spec: https://mavlink.io/en/services/parameter.html#write-parameters 2. This fixes the bug where int32 parameters were not actually acked because the memory of the param value was casted directly to float and then compared. In the case of a int32 parameter set from 0 to 1 it would mean that the cast to float of the memory representation was still 0 and therefore it was assumed to be "no change" and the ack was omitted.sbg
1 changed files with 2 additions and 8 deletions
Loading…
Reference in new issue