mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 09:26:25 +08:00
fix(rc_update): change RC*_REV params from float to int32
RC*_REV parameters are binary toggles (-1 or 1) immediately converted to bool. Using int32 allows reverting the module schema enum key type from number back to integer, keeping validation strict.
This commit is contained in:
@@ -170,7 +170,7 @@ parameters:
|
||||
# enumeration of possible values for type enum
|
||||
type: dict
|
||||
keyschema:
|
||||
type: number
|
||||
type: integer
|
||||
valueschema:
|
||||
type: string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user